menu won't load so ubuntu can't be chosen

Gary Kirkpatrick pegngary at gmail.com
Sat Jun 14 19:25:02 UTC 2008


Ubuntu stopped loading after I removed data from a logical partition.  I ran
a grub fixer and now the menu won't load (menu.lst).  Here's what I have
done so far.

$ sudo mkdir -p /media/disk

$ sudo mount /dev/sda5 /media/disk


sudo nano -w /media/disk/boot/grub/menu.lst

Changed all occurrences of (hd0,6) to (hd0,4) (I also tried 5 because sudo
grub find /boot/grub/stage1 yielded (hd0,5)). Then

grub
 root (hd0,4) also tried 5
Then setup (hd0)

When I used 4 I got error 17.

When 5 I got:

grub> root (hd0,5)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed

Error 12: Invalid device requested

So I got farther but still no banana.

Need some help please!   Thanks  Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080614/42434f26/attachment.html>


More information about the ubuntu-users mailing list