LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2006, 02:31 PM   #1
goBoating
LQ Newbie
 
Registered: Dec 2005
Distribution: FC3
Posts: 2

Rep: Reputation: 0
restore MBR to use GRUB after OS rebuild


Greetings All,
I have an old Dell XPS R350 PC that used to dual boot Win98 and FC3. After updating virus definitions on the Win side, it will no longer boot Windows. I generally like linux better so it is not great loss. However, there are a few things I'd like to be able to on the Win side and an consequently considering throwing XP on the Windows partition. The problem is that I can't find a clear route to restoring the GRUB setup.

When I install Win XP, I fully expect it will overwrite the existing MBR, thus preventing me from booting my Linux side.

How do I restore the MBR so that GRUB will do its job after the Win install is done?

'Searched the tutorials and did a few searches on MBR and GRUB and such to no avail. If I've missed an obvious answer to this, sorry in advance.

Thanks
 
Old 06-15-2006, 02:50 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Put grub on a floppy, then install XP.

You can leave grub on the floppy and setup the config file to dual-boot, or you can install grub onto the mbr after windows is installed
 
Old 06-16-2006, 08:35 AM   #3
goBoating
LQ Newbie
 
Registered: Dec 2005
Distribution: FC3
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
Put grub on a floppy, then install XP.

You can leave grub on the floppy and setup the config file to dual-boot, or you can install grub onto the mbr after windows is installed
Thanks for the response. The latter option is the one I want, 'install grub onto the mbr after windows is installed'. I am not a heavy duty sys-admin and don't play with this level of stuff much/often, so I'm scrounging for a procedure that will put my existing grub config back in place after the windows install.
 
Old 06-16-2006, 08:54 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just boot the FC CD into rescue mode and reinstall grub - there may be an option to restore grub, else use grub-install from the command line.

Search here on LQ - must be at least a thread a week on this.
 
  


Reply

Tags
grub, mbr



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu: windows took over MBR and can't restore grub eantoranz Linux - Software 3 02-03-2006 08:29 PM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
restore old MBR? paperdiesel Linux - Software 2 08-10-2004 12:22 AM
restore mbr (in lilo and grub) abs Slackware 5 02-07-2004 02:39 PM
How do I restore LILO in the MBR? josedsilva Linux - Software 2 03-20-2003 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08: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
Open Source Consulting | Domain Registration