No bootable partition after Ubuntu install

Karl Larsen k5di at zianet.com
Sat Apr 5 22:51:43 UTC 2008


Doctor Who wrote:
>>  To add to that, if I mount /dev/sda1 locally and then look for
>>  /boot/grub/stage1, it *is* there.  Just not being seen.
>>
>>     
>
> I take that back...it's not there.  That was a fat-finger mistake and
> I was looking at that from my desktop.  So grub is not there.
>
> desktop:/mnt/tmp/boot # ls -al
> total 10576
> drwxr-xr-x  2 root root    4096 2008-03-19 17:44 .
> drwxr-xr-x 21 root root    4096 2008-04-05 11:56 ..
> -rw-r--r--  1 root root  422387 2008-03-12 21:43 abi-2.6.24-12-generic
> -rw-r--r--  1 root root   79746 2008-03-12 21:43 config-2.6.24-12-generic
> -rw-r--r--  1 root root 7353114 2008-03-19 17:29
> initrd.img-2.6.24-12-generic.bak
> -rw-r--r--  1 root root  103204 2007-09-28 06:06 memtest86+.bin
> -rw-r--r--  1 root root  903816 2008-03-12 21:43 System.map-2.6.24-12-generic
> -rw-r--r--  1 root root 1909528 2008-03-12 21:43 vmlinuz-2.6.24-12-generic
>
>   
    I think he needs to find his /boot/grub/menu.lst and add to that this:

title           Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.22-14-generic 
root=UUID=a9c1cb61-ddfd-44f6-88b
0-6dc976daf9ca ro single
initrd          /boot/initrd.img-2.6.22-14-generic

This should let you boot your Ubuntu. Then look at /boot/grub/menu.lst 
on it and change the above for what you have.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list