Grub broken.

Kok, Auke sofar at foo-projects.org
Tue Aug 12 18:35:33 CEST 2008


Chris Andrew wrote:
> Can anyone tell me what I should type at the Grub > prompt to see what
> my menu.1st looks like?

Ive seen this bug and it's sometimes not even needed to fix a menu.lst file. At
the failed boot prompt you can `reinstall` grub on the fly:

> root (hd0,0)
> setup (hd0)
> reboot

this will work if your /boot partition is /dev/sda and you had/want grub in the
mbr. if the above `setup` command works then grub will find your menu.lst file
again and hopefully it'll work

if not then you can boot as follows:

> root (hd0,0)
> kernel 2.6.2x root=/dev/sda2
> boot

and then try to use lunar to fix it (lin -c grub, lin -c linux-2.6)

Auke


More information about the Lunar mailing list