LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-27-2006, 06:12 AM   #1
vshenoy
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
dual boot


Hi,
I have win 2k and linux RH9 in dual boot with grub. I want to install a copy of win xp. will it cause any harm to my linux installation considering that windows needs to be installed first?

thanks in advance
VS
 
Old 04-27-2006, 06:28 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,837

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
XP will overwrite the MBR, and so you will lose access to grub, and thus your RH9 install.
You will need to boot the RH9 CD and reinstall grub to get the dual boot set up again as you have it now.
 
Old 04-27-2006, 09:19 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Alternate method:
First, put GRUB on a floppy. Make sure you can boot from the floppy before proceeding.
If you install XP in place of Win 2K, then the existing grub configuration (might) still work--otherwise, you'll have to edit it to have it see the new XP installation.

When everything is working, you can then put GRUB back on the mbr (i just leave it on the floppy--lazy??)
 
Old 04-27-2006, 09:29 AM   #4
vshenoy
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Is there a way where i can tweak the default windows bootloader to make it detect my linux installation?
 
Old 04-27-2006, 09:33 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by vshenoy
Is there a way where i can tweak the default windows bootloader to make it detect my linux installation?
Yes....
Search this forum for "Saikee" (member name). In his sig are links to all manner of dual-booting wisdom. Basically, it involves putting grub in a sector and then setting up NTLDR to point to it.

Also try searching here using "boot linux from windows" or something similar.
 
Old 04-27-2006, 10:19 AM   #6
vshenoy
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
got this from "saikee's" sig links.

http://www.justlinux.com/forum/showt...hreadid=130715

This should do it


Thanks all
 
Old 04-27-2006, 06:08 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,837

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
A couple of points - any re-install of XP (including a SP, or Vista) will re-write the MBR. Nothing you can do to stop it.
The M$oft installers will not automagically detect non-M$ost OS's on install. You can have Linux as an option on the boot.ini menu, and this will survive a re-install. Takes a bit to setup, but has been covered here on many threads.

Best option is just to re-install grub after all the dust has settled.
 
  


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
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 06:36 AM
Do dual boot systems need dual instalations of programs (GIMP, Firefox etc.) madsporkmurderer Linux - Newbie 2 12-05-2005 01:45 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 09:57 PM


All times are GMT -5. The time now is 06:29 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