Grub
From Admin-SIG
[edit]
Recovering an over-written MBR entry
Sometimes, like after a windows (re-)install, the GRUB entry on the MBR will get wiped. To re-install the GRUB hooks into the MBR, do the following:
- Start up Ubuntu in cd-image live mode
- Mount your old / or /boot partition (/boot if you had a seperate /boot partition)
- Note what the root entries are in ...boot/grub/menu.lst
- Start up GRUB (sudo grub)
- Type the grub command root (hd?,?)
Where the hd?,? refers to the disk and partition where grub resides - Type the grub command setup (hd?) to set up the MBR on the boot drive

