How To Restore Grub When Linux Doesn't Boot?
- Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
- Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.
- Type "grub" which makes a GRUB prompt appear.
- Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.
- Type "root (hd0,3)".
- Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".
- Type "quit".
- Restart the system. Remove the bootable CD.
References
ASC Consultants - Retrieved on date 9 Sep 2009
All text is available under the terms of the GNU Free Documentation License
Privacy Policy | About Wikitec | Disclaimer | Copyright