LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2004, 12:36 PM   #1
ashutosh_singh
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Unhappy 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
 
Old 09-11-2004, 01:39 PM   #2
kostason
Member
 
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
reinstalling windows deleted my grub master boot file; how do I restore it? sohmc Linux - General 3 01-12-2005 02:27 PM
Fat32 formatting under linux corrupting under windows? sausagejohnson Linux - Hardware 17 11-21-2004 10:31 PM
Formatting Windows, With Linux Installed Enfer Singe Linux - Newbie 11 09-04-2004 03:19 PM
formatting my HD to get rid of Linux and go to Windows 98 Zeke General 16 09-04-2003 12:51 AM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration