PDA

View Full Version : [ubuntu] Need help to restore grub



supravat
July 13th, 2010, 06:30 PM
I have two operating systems installed in my computer. one is Windows XP( sp2 ) and another is Ubuntu Linux 10.04Lts. I reinstalled Windows XP. After rebooting, the grub menu is not displaying, only windows is booting, there is no sign of Ubuntu. Is there any way to restore the Ubuntu or I have to freshly install Ubuntu again ??

Please help me ...

wojox
July 13th, 2010, 06:33 PM
Try and reinstall from a LiveCD (https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD)

After you boot back into Ubuntu run


sudo update-grub

and it should find Windows.

supravat
July 13th, 2010, 06:44 PM
in that cas emy old Ubuntu will be deleted ... is there any way get it back ???

wojox
July 13th, 2010, 06:45 PM
It won't delete Ubuntu. It will just reinstall Grub2 to the MBR.

supravat
July 14th, 2010, 05:18 AM
can you tell me the exact sequence of commands..please

confused57
July 14th, 2010, 05:35 AM
See part #13 here:
http://ubuntuforums.org/showthread.php?t=1195275