LinuxQuestions.org
Review your favorite Linux distribution.
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 05-03-2007, 02:26 PM   #1
BigFoot13
Member
 
Registered: Sep 2006
Location: ~/
Distribution: Kubuntu 8.04 Hardy
Posts: 115

Rep: Reputation: 15
Does a Windows XP repair install overwrite the MBR?


Hi guys, I know this is more of a Windows question, but I think someone will now the answer.

I am planning to do a repair install of Windows XP. I have a dual boot of XP and Kubuntu. Kubuntu was installed after Windows, and the GRUB menu is located in the default location (/boot/grub/menu.lst). I wanted to make sure that Windows wouldn't overwrite my MBR before doing this because I don't want it to erase GRUB and make me loose Kubuntu. I know GRUB can be repaired, but I would rather avoid that route if possible.

Thanks,
BigFoot
 
Old 05-03-2007, 02:31 PM   #2
LaRoza
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
Grub

http://ubuntuforums.org/showthread.p...t=restore+grub

This will give you several ways to reinstall grub, graphical and command line, with a live disk and the install disk.

It is not hard.
 
Old 05-03-2007, 02:34 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
mbr

My windows xp pro repair install did wipe grub. LaRosa's link should help you fix it and get Linux back up. might want to print out your grub info before repairing.
 
Old 05-03-2007, 02:55 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
In my personal experience here at home, a Windows XP repair-install did NOT remove GRUB from the MBR (we were actually trying to reinstall NTloader to the MBR, but it didn't work -- hadda use recovery console -> fixMBR).
However, to be safest, follow the advice above, and at very least have a backup of your GRUB data before proceeding. GRUB should be easy enough to repair if it does get messed up
 
Old 05-04-2007, 07:15 PM   #5
BigFoot13
Member
 
Registered: Sep 2006
Location: ~/
Distribution: Kubuntu 8.04 Hardy
Posts: 115

Original Poster
Rep: Reputation: 15
Thanks guys (and girls)! One more question, do you know if installing the recovery console will remove GRUB?
 
Old 05-04-2007, 09:26 PM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I'm not sure what you mean by 'install the recovery console'.. Can that be done? If you mean 'adding options to the windows boot.ini file' then no, that shouldn't affect GRUB. But please clarify.
 
Old 05-04-2007, 11:09 PM   #7
BigFoot13
Member
 
Registered: Sep 2006
Location: ~/
Distribution: Kubuntu 8.04 Hardy
Posts: 115

Original Poster
Rep: Reputation: 15
Take a look at this MSKB article:
http://support.microsoft.com/kb/216417

This is what I mean.
 
Old 05-04-2007, 11:51 PM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Ahh OK. Well, it sure doesn't look like it affects the bootloader. It adds an entry to the boot.ini file, which gives you the menu when you turn on the machine. And it appears to put a folder in the C:\ drive root, containing a bootable image, presumably which starts the recovery console.
Based on what's in that article, I'd say it won't affect GRUB, but again, be prepared for the worst case scenario; know what would be required of you *IF* you do wind up with a screwy MBR.
 
Old 05-05-2007, 03:53 PM   #9
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
kewl.

I will have to watch next time and see what I did to the mbr last time then. thx for the post though.
 
Old 05-05-2007, 11:34 PM   #10
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
@ Hern -- might be a difference between Home and Pro? You said you used Pro when you did that, and I used Home.
 
Old 05-06-2007, 12:37 AM   #11
BigFoot13
Member
 
Registered: Sep 2006
Location: ~/
Distribution: Kubuntu 8.04 Hardy
Posts: 115

Original Poster
Rep: Reputation: 15
Thanks guys. I am going to install the recovery console and will post back with the results.
 
Old 05-06-2007, 02:40 PM   #12
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
nod.

GrapefruiTgirl @ Hern -- might be a difference between Home and Pro? You said you used Pro when you did that, and I used Home.

prolly right, just figured that the recovery process would be the same, might not be though.
 
  


Reply

Tags
grub, install, mbr, windows


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 *didn't* overwrite the MBR vharishankar General 5 12-13-2006 09:30 PM
Install Windows and then repair LILO objorkum Slackware 13 12-30-2004 06:56 AM
Oops, I let my new windows install overwrite my FC2 bootloader on the MBR... mono Fedora 1 08-03-2004 09:02 PM
Windowze will overwrite my MBR purefan Linux - Newbie 5 09-09-2003 07:47 PM
Can't overwrite MBR Elmo Linux - General 2 03-13-2003 02:24 PM


All times are GMT -5. The time now is 04:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration