Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 08-30-2003, 03:06 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: redhat 9.0
Posts: 2

Rep: Reputation: 0
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,
Old 08-30-2003, 03:27 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try adding an entry to grub.conf like:
title Windoze XP Pro
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Old 08-30-2003, 03:42 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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:
title WindowsXP
map (hd0)(hd2)
map (hd2)(hd0)
rootnoverify (hd2,0)
chainloader +1
To boot winXP's bootloader (NT Loader), add the following syntax:
title WindowsXP
map (hd0)(hd2)
map (hd2)(hd0)
Old 08-30-2003, 10:08 PM   #4
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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/ 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 grub maps them like this:

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


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
Dual boot - Slack 9.1, WinXP Pro blade00 Linux - General 10 12-30-2003 10:07 PM
WinXP Pro / Mandrake 9.2 Dual Boot X PsychoTron X Linux - Newbie 17 12-18-2003 03:34 PM
WinXP/RH9 - Dual Boot? Ulaire Smiley Linux - Newbie 5 09-26-2003 02:08 PM
I need help with grub and trying to dual boot rh9 and winxp pro slicker Red Hat 2 08-30-2003 11:44 AM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 07:40 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration