Boot WinXP (on SATA) from GRUB (on PATA?)
I have an ASUS A7N8X box that's mostly for WinXP (as that's how I earn my living). I want to explore Linux in detail and have installed Fedora Core 1 on the system. It generally runs fine and I'm working through the issues a little at a time.
First off, though, is how to get GRUB to boot WinXP on my drive configuration. What I have is a 120G SATA drive as the boot drive for XP and two older PATA drives on the IDE channels along with two optical drives.
The BIOS is set to boot from "SCSI", which lets the Silicon Image 3112 controller perform boot duties.
Currently the drives are laid out as follows:
PATA 0 (shows as /dev/hda)
100MB for /boot
79G for NTFS
PATA 1 (shows as /dev/hdb)
30GB for FAT32
2GB for Linux Swap
28GB for Linux root (/)
SATA 0 (shows as, I think /dev/hde? Not sure.)
120GB for NTFS.
GRUB is installed on the /dev/hda MBR.
So, if I change BIOS to boot from the first HD, GRUB boots Fedora Core just fine. This is what I'd like to use for booting Windows as well.
Will GRUB do this for me?
The default install of /etc/grub.conf showed a second boot directive trying to boot "DOS" at (hd0,2) (from memory).
From my understanding of GRUB's nomenclature and how Windows sees the drive ordering as PATA0, PATA1, SATA0...etc, I thought that I could get GRUB to boot WinXP off SATA using "(hd2,x)". I tried several values for 'x' and all but '0' had GRUB saying "no such partition". A value of '0' resulted in a lock-up of GRUB.
I suspect some of this is due to GRUB not being aware of the SATA drive at boot time as opposed to when the kernel has probed out the BIOS to find the SATA.
I've also tried using the 'ff' & boot.ini trick to run the boot loader from NTLDR with no success; if it got anywhere it just got to where the screen shows "GRUB" in the corner.
Any ideas?
|