Novell Cool Solutions

Restore GRUB



By:

January 9, 2009 9:00 am

Reads:8,860

Comments:1

Score:Unrated

Print/PDF

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.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags:
Categories: Uncategorized

1

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

1 Comment

  1. By:jesus_cruz

    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.

Comment

RSS