How can I make GRUB load my WinXP on 2nd HDD?

jaimegmr

Distinguished
Dec 28, 2001
182
0
18,680
I installed RedHat Linux 9 with the GRUB boot loader in my primary master hard drive and it boots fine. The problem is that to prevent the boot loader from messing up my WinXP installation, I made the linux hard drive the Master and the Windows XP hard drive the slave. But now I can not boot to windows xp with the boot loader. I have to tell my BIOS to boot from the slave in order to boot into WinXP. I want to boot with GRUB and add an option to load Windows XP from the second slave hard drive. How do I do this?

Signature X__________________________ <-- Sign here please.
 
First: the Grub menu.
Search for menu.lst (presumably in /boot/grub/)
add there (do not delete if you are unsure of what you are doing):
title XPHome
root (hd1,0)
makeactive
chainloader +1

Second: The XP boot.ini file
Search for boot.ini (presumably in /dev/hdb1 - mount it somewhere)
edit there (make a back_up)
[boot loader]
timeout=10
default=multi(0)diks(1)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)diks(1)rdisk(0)partition(1)\WINDOWS="Whatever you wish" /fastdetect

if you want more info add at the end /sos
 

TRENDING THREADS