Friday, January 4, 2008

Repair a damage GRUB MBR in Linux

A damaged GRUB MBR (eg. GRUB error 22) can be repaired by booting a live CD and doing the following:
sudo grub This will give you a GRUB prompt, then run:
find /boot/grub/stage1 This will return a location, use this to set the root and then install to the MBR:
root (h?,?)
setup (hd0)

No comments:

Post a Comment