LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux grub deleted during formatting windows (https://www.linuxquestions.org/questions/linux-newbie-8/linux-grub-deleted-during-formatting-windows-229330/)

ashutosh_singh 09-11-2004 11:36 AM

linux grub deleted during formatting windows
 
Hi,
I have a dual os on my machine- fedora core-2 and windows xp.
During formating the windows the grub or bootloader was deleted and now my computer is only booting in windows.I have tried using the first boot cd of fedora,it is detecting the linux but i dont know how to load the grub.
Now what to do?????
Ashutosh

kostason 09-11-2004 12:39 PM

hi,
I think you have to re-install GRUB

boot in rescue mode. here "http://fedoraguide.org/fc2/fc2beginnersguide.html#fc2rescuecdgainroot" is how.

then in the root shell prompt run the command "/sbin/grub-install <location>", where <location> is the location that the GRUB Stage 1 boot loader should be installed.
The following command installs GRUB to the MBR of the master IDE device on the primary IDE bus:
Code:

/sbin/grub-install /dev/hda


All times are GMT -5. The time now is 12:54 PM.