View Full Version : How to Reinstall GRUB
MetalheadGautham
14-06-2008, 11:21 PM
I had installed Sidux a few days back and I am enjoying it.
My mom, dad and sis are pissed off as they don't understand how to use Sidux.
So I installed windows.
I forgot the steps to reinstall grub in MBR.
I am stuck with Sidux Live CD for now.
How do I install GRUB in MBR once again ?
For configuration, I have an 80GB HDD. Single Disc. First partition is a primary one with windows and MBR. Thats where I need to install GRUB I suppose.
NucleusKore
14-06-2008, 11:26 PM
How to Restore the Grub Menu:
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.
3. Type "grub" which makes a GRUB prompt appear.
4. 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.
5. Type "root (hd0,3)".
6. 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)".
7. Type "quit".
8. Restart the system. Remove the bootable CD.
Sources:
http://ubuntuforums.org/showthread.php?t=24113
http://www.sorgonet.com/linux/grubrestore/
MetalheadGautham
14-06-2008, 11:39 PM
Thanks NucleusKore, it worked.
I had the instructions already with me, and I too found them on ubuntuforums.org.
But I thought it was Ubuntu Exclusive.
Now I have gotton it clear that its not Ubuntu Exclusive, rather, GRUB Exlcusive :lol:
Mods Please lock this thread and perhaps make it a sticky since its a common issue.
I always get error on
find /boot/grub/stage1
and damn thing never installs :(, evern tried chroot method then blah blah..
NucleusKore
15-06-2008, 11:01 AM
and damn thing never installs :(, evern tried chroot method then blah blah..
Then you need
SUPERGRUB (http://www.supergrubdisk.org/)
MetalheadGautham
16-06-2008, 01:00 AM
Then you need
SUPERGRUB (http://www.supergrubdisk.org/)
People are strictly adviced against usin SUPER GRUB.
Its not meant for multiple distros and some other common scenarios.
praka123
16-06-2008, 01:30 AM
afaik ubuntu got something like startup-manager :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.