Restore GRUB Legacy
15.12.2009. at 23:30 Leave a comment
This method requires any live GNU/Linux distribution that has ‘GRUB Legacy’ for default bootloader. So after booting live distribution from CD/DVD/USB, and opening command line, here are 4 steps that will restore your GRUB:
- Start grub using this command (the ‘no-floppy’ option will speed up GRUB starting time):
sudo grub --no-floppy - Now if boot partition, that you want to restore GRUB from (it contains ”/boot/grub/stage1′ file), is on the second partition, you’ll type:
root (hd0,1) - Setup GRUB on MBR:
setup (hd0) - And quit:
quit
For more options there are always man pages, help in grub interface, and on-line manual.
Advertisement
Entry filed under: Linux commands. Tags: bootloader, GRUB, linux, MBR messed up, restore.
Trackback this post | Subscribe to the comments via RSS Feed