[clug] grub question

Chris Smart mail at christophersmart.com
Sun Jun 14 02:29:55 GMT 2009


2009/6/14 Eyal Lebedinsky <eyal at eyal.emu.id.au>:
> How do I restore the normal behaviour where the system does not enter a grub
> prompt?

When booted up to a working system, re-install GRUB to the Master Boot Record.

su -
grub
root (hd0,0)
setup (hd0)

This should detect whether you have a menu.lst or grub.conf so it
shouldn't matter. GRUB is zero based, so hd0,0 specifies the first
hard drive and first partition (i.e. /dev/sda1). If that's not where
your /boot partition/directory is then replace with the correct value.

Setup (hd0) installs it to the MBR. This is usually what you want on a
normal PC system.

-c


More information about the linux mailing list