Dual booting XP Pro and Linux 7.3

AMDSkitzo

Limp Gawd
Joined
Jun 7, 2002
Messages
145
I have 2 hard drives, an 120 gig with XP on it(drive is master), and an 80 gig with Linux(drive being slave). Now when i installed Linux, I installed GRUB on the MBR of the 120 gig. When i boot GRUB comes up with the options of booting into linux or XP, if i select linux it boots fine, but if i select xp nothing happens and i need to reboot my computer.

I think it has to do with my grub.conf file so here it is:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,0)
#          kernel /vmlinuz-version ro root=/dev/hdb10
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
	root (hd1,0)
	kernel /vmlinuz-2.4.18-3 ro root=/dev/hdb10 hdc=ide-scsi
	initrd /initrd-2.4.18-3.img
title XP
	map (hd1) (hd0)
	map (hd0) (hd1)
	rootnoverify (hd0,0)
	chainloader +1
 
Yeah now I'm not sure I want to install RedHat 7.2 because I was planning the same setup as the AMD dude... :(

What i think its trying to say is that when trying to boot into XP the system goes and looks at the linux drive instead. Could (and probably am) wrong. :D
 
Try removing the map entries from the XP config. Don't see the point of those.

Can you get a GRUB command line on boot? If so, try the commands:

chainloader +1
boot
 
When I get to work I'll post my grub.conf that I have set up a dual boot system with. I had the same problem at first... Give me about 45 min...

Edit: See next post...
 
Ok, I have XP on the second drive on my system (slave). Here's the entry for XP:

title=Windows XP Pro
map (hd1) (hd0) - This should only be needed if XP is not on hda
map (hd0) (hd1) - Same as above
rootnoverify (hd1,0)
chainloader +1
 
I think you can get rid of the map calls since XP is on the same drive as the MBR. chainloader + 1 should be all you need to call in grub.conf (after setting the root partition). So, if linux is booting fine... don't touch it, and try changing the XP section to something like...

Code:
title=Windows XP
# assuming XP is on /dev/hda1
root (hd0,0)
chainloader +1
 
Back
Top