linux tips

Tips and ticks for linux

&
 
  • Cool sites



Dec 25 2008

Recovering Grub after installing Windows

Published by dipinkrishna at 11:22 pm under Uncategorized Edit This

I reinstalled my vista, i found that my ubuntu grub was lost..

These are the steps i took to get back my ubuntu grub..

1. Boot the Desktop/Live CD.

2. Open a terminal (Applications -> Accessories -> Terminal)

3. Start grub as root with the following command :

$ sudo grub

I got the output as

[ Minimal BASH-like line editing is supported. For

the first word, TAB lists possible command

completions. Anywhere else TAB lists the possible

completions of a device/filename. ]

grub>

5. Now type these :

grub> find /boot/grub/stage1

i got it as (hda0,10)

6. Use the information from the above to set the root device:

grub> root (hd0,10)

7. Now install the grub:

grub> setup (hd0)</strong>


8. Now quit


grub> quit

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.
Not A Member? Register for Free!

Some Today.com contributors may have received a fee or a promotional product or service from a manufacturer for promotional consideration, while others receive no consideration at all. Each contributor is responsible for disclosing any such promotional consideration.