View previous topic :: View next topic |
Author |
Message |
mtwnet n00b
Joined: 31 Jul 2004 Posts: 18
|
Posted: Tue Nov 23, 2004 8:15 pm Post subject: Re-installing XP on a separate drive |
|
|
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 |
|
|
Jimboberella Guru
Joined: 19 Jun 2002 Posts: 358 Location: Brisbane/Australia
|
Posted: Wed Nov 24, 2004 2:09 am Post subject: |
|
|
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 |
|
|
mtwnet n00b
Joined: 31 Jul 2004 Posts: 18
|
Posted: Wed Nov 24, 2004 3:17 am Post subject: |
|
|
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 |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Wed Nov 24, 2004 6:18 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|