Article

mendesdomnic's picture
article
Reads:

6603

Score:
0
0
 
Comments:

1

Restore GRUB

(View Disclaimer)

Sometimes GRUB may be lost due to a fresh Windows install or some other reason. Below is a quick step guide to restore GRUB.

Step 1: Boot your system with a Linux live CD

Step 2: Open a terminal and run the following command to get in to the GRUB command mode:

sudo grub

Step 3: Now to find the partition that has the GRUB boot loader run:

find /boot/grub/stage1

Step 4: From step 3 we will know the partition that has grub boot loader.

root(hd#,#)

replace # with the partition returned by step 3.

Step 5: Run the following command to install grub on the MBR(Master Boot Record) of the first drive.

setup (hd0)

Or

If you want to install it into the boot sector of a partition instead of MBR run the following command:

setup (hd0,#)

replace # with partition

Step 6: To quit the grub command line mode run:

quit

Now reboot the system to find GRUB restored.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

jesus_cruz's picture

Perfect!!

Submitted by jesus_cruz on 14 May 2010 - 1:17pm.

Hi!!

All perfect!! Now I have my Superb Grub back after a Windows Upgrade!!

Just instead of root(hd#,#) must be root (hd#,#) (with space).

Thanx & Best Regards!!
JC.

© 2013 Novell