Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-16-2006, 06:18 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
Master boot record of Fedora overwritten by Windows XP

Hi All,

I had 2 operating systems on my PC on different partitions- Linux on one partition and windows XP on other. I used to make selection by GRUB Loader. Few days back, I re-installed Windows XP. It has over written Master boot record I guess because now GRUB loader is not displayed and I cann't boot Linux-Fedora though it still exists. I cann't format it and re-install because I have important data on Linux partition. Any suggestions to get Grub loader back or any other way to boot Linux ?

Many thanks & regards,
Tarun Gupta

B.Sc (Hons) Bioinformatics
Panjab University,
Old 10-16-2006, 06:43 AM   #2
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Rep: Reputation: 15
All you need to do is dig up a LiveCD from somewhere
Then, just run the following as root:
grub-install /dev/hda
Good luck
Old 10-16-2006, 06:49 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Will it mess up with Xp's boot record ?

Last edited by hotbacteria; 10-16-2006 at 07:07 AM.
Old 10-16-2006, 06:55 AM   #4
Senior Member
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Old 10-16-2006, 09:49 AM   #5
Registered: Dec 2004
Location: Denver Colorado
Distribution: Kubuntu/Debian
Posts: 120

Rep: Reputation: 15
No, it grub did't mess up Windows the first first time

No, Grub plays nice. It will chain-load Windows just as it did before. I personally use Knoppix for my critical-computer care needs, but look around, there are several options to choose from.

I had to reinstall Windows on my laptop for my web design needs, and then I had to go back and reinstall Linux. For me, it was a matter of partitioning properly. If you have space to shrink your ntfs drive, you can create a FAT32 partition, which can be accessed by both Linux and Windows. (defrag and backup your Windows data first)

I also ALWAYS create a separate partition for /home at least. With my personal files untouched, reinstallation was not painful.

Good luck!
Old 10-16-2006, 02:15 PM   #6
LQ Newbie
Registered: Dec 2005
Posts: 16

Rep: Reputation: 0
Question for Motech:

I recently installed Winxp, Win2k3 server, and FC5 (in that order) and Grub seems to have wiped out my ability to access Winxp now. I can access win2k3, and I thought I had manually configured Grub to recognize the extra partion for Winxp as bootable but it also boots to Win2k3. Should Grub be "playing nice" by default or are there any other configurations that might need to be made?


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
Dual boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 01:06 AM
master boot record help sfr7 Linux - Laptop and Netbook 10 04-25-2004 09:52 AM
Master Boot Record linuxuser05 Linux - General 3 01-11-2004 07:57 PM
master boot record alaios Linux - General 1 04-22-2003 09:41 AM
master boot record dark_light Linux - General 11 07-03-2002 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

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