LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RH9/WinXP Pro dual boot (https://www.linuxquestions.org/questions/red-hat-31/rh9-winxp-pro-dual-boot-87397/)

whisper8003 08-30-2003 02:06 PM

RH9/WinXP Pro dual boot
 
I'm got tired of not being able to play my games under RH9 (with WineX) because of my apparent inability to install the accelerated drivers for my geforce 4 mx 440, so I decided to use my 2nd hard drive (secondary master) for WinXP Pro.

Grub wouldn't let me boot to a floppy, and WinXP had to copy files to the primary master HDD (the one with RH9) in order to install. Needless to say, there were file system problems. So I unplugged the primary master and set up the system so that the soon-to-be WinXP HDD was the primary master.

XP install went thru without a hitch, and I returned my original physical configuration to what it was before. Now I need to edit the /etc/grub.conf to tell it where WinXP lives. Unfortunately, I'm a relative Linux n00bie, so I don't know what lines to feed it.

Can anyone possibly help me?

Thanks, in advance,
Erik

david_ross 08-30-2003 02:27 PM

Try adding an entry to grub.conf like:
title Windoze XP Pro
rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

Mathieu 08-30-2003 02:42 PM

If the Linux is on the primary master and winXP is on the secondary master.
Shouldn't it be more like this ?

To boot winXP directly, add the following syntax:
Code:

title WindowsXP
map (hd0)(hd2)
map (hd2)(hd0)
rootnoverify (hd2,0)
chainloader +1

To boot winXP's bootloader (NT Loader), add the following syntax:
Code:

title WindowsXP
map (hd0)(hd2)
map (hd2)(hd0)


DMR 08-30-2003 09:08 PM

Quote:

Originally posted by Mathieu
If the Linux is on the primary master and winXP is on the secondary master.
Shouldn't it be more like this ?

Not necessarily. Grub doesn't detect drives in the same way that the OS does (grub doesn't even differentiate between IDE and SCSI drives in terms of order of detection). You can see how grub has mapped its drive assignments to their Linux counterparts by looking in your /boot/grub/device.map file.

For example, on one of my systems I have three hard drives configured:

hda- Primary Master
hdb- Primary Slave
hde- Primary Master on a PCI ATA accelerator/controller card

However, in device.map grub maps them like this:

(hd0) /dev/hda
(hd1) /dev/hde
(hd2) /dev/hdb


All times are GMT -5. The time now is 06:14 AM.