Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Re-installing XP on a separate drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mtwnet
n00b
n00b


Joined: 31 Jul 2004
Posts: 18

PostPosted: Tue Nov 23, 2004 8:15 pm    Post subject: Re-installing XP on a separate drive Reply with quote

I've got two hard drives in my machine, one on the sata controller and one on the pata. XP is on the sata drive, Gentoo on the pata.

Before I get started, let me tell you why I wanted to write this up. I had a HECK of a time getting dual-booting to work. It wasn't the fault of the Gentoo install, but rather the XP installer. It would seek out and destroy the Gentoo installation (not irrepairably mind you, but I could never get grub to boot into Windows no matter how much finagling I did.)

One assumption: the pata drive you want to install Gentoo or XP to is on a different IDE controller than your CD/DVD drive.

1. First I did a Gentoo stage 1 install to the pata drive. Simple, easy, painless. I went ahead and set up grub to boot to XP even though I hadn't installed it yet. Rebooted into Gentoo and finished the install.

2. Important! When you're ready to install XP, go into your BIOS and while you set your boot drive to CD, disable the IDE controller your pata drive is on. If you don't do this, the XP installer will take note of the foreign OS on the other drive and insist on fugging up the boot record/MBR (I believe that is what's happening.) So, essentially you have to hide this drive from the XP installer.

3. Finish installing XP. Go back and set your boot drive to the pata drive and turn on that IDE controller. Now you should have a fully functional dual-boot configuration.

You could also do the Windows drive first, but make sure you "hide" the other drive from the XP installer.

Hope this helps someone. I wasted two days trying to figure out what was going on.
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Wed Nov 24, 2004 2:09 am    Post subject: Reply with quote

Or install XP first then linux/grub
Or install Xp after linux. Boot live cd chroot and reinstall grub as per the install docs.

They all work, none are elegant
Back to top
View user's profile Send private message
mtwnet
n00b
n00b


Joined: 31 Jul 2004
Posts: 18

PostPosted: Wed Nov 24, 2004 3:17 am    Post subject: Reply with quote

Actually, that wasn't true in my case. If I had installed Gentoo on the other drive before XP, the XP installer would hose the Gentoo MBR. XP before Linux was fine only if the XP installer did not detect another OS.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Nov 24, 2004 6:18 am    Post subject: Reply with quote

I'm a believer in the grub floppy.. see recent link
no screwing up mbrs
they cost peanuts
they're simple
:-)
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum