Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > How can I make GRUB load my WinXP on 2nd HDD?

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

Forum Linux/Free BSD : Linux/Free BSD General Discussion - How can I make GRUB load my WinXP on 2nd HDD?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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.

Sponsored Links
Register or log in to remove.
- 0 +

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

Reply to lapazzo
Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > How can I make GRUB load my WinXP on 2nd HDD?
Go to:

There are 1304 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them