there are a number of solutions so bear with me
You will need to note that I assume your /etc/fstab table is correct for the linux sata drive and Xp has a c partition of (hd0,0)
read my tutorial please to grasp the grub speak
A) bios detects sata 1 which is Xp data drive and its mbr produces 2 solutions
sol 1
mbr has ntldr in it which can be made to chainload linux
use the tutorial on how ntldr can chainload to linux
in summary....install linux grub into the root partition of its /boot partition
take an image of it and link it to your boot.ini file
sol 2
mbr has grub which jumps to its booting files on sata 2 and can chainload xp
means that you re-install grub , make sure that the /boot/grub/menu.lst has this
title xp
root (hd0,0)
chainloader +1
title linux
root (hdX,Y).....not enough info given in your post to be explicit
kernel ....ditto
initrd .....ditto
you can post the output of your /boot if you have a live cd and your /etc/fstab if you are struggling
The disadvantage of solution 2 is that if there is trouble xp tends to want to stuff up the bootloader and rewrite the mbr of the xp drive.
so
B) leave the mbr of xp drive alone
use a live cd to install grub into mbr of drive 2...the linux one
then
solutions vary.....if your mobo allows you to select boot order sata 2 ahead of sata 1 your will get (3) if not (4) applies
(3) grub detected....use a live cd to edit the hd numbers and the map commands as per tutorial as
bios jumps to linux mbr jumps to sata 2 /boot/grub booting files
so xp drive is now hd1 and not hd0....so the map commands apply
your windows will look something like this in menu
title xp
root (hd1,0)....no longer hd0
map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)....assuming /boot is on first linux partition
makeactive
chainloader +1
title linux
root (hd0,0)....assumption as above
kernel not enough info
initrd ditto
4) bios can not jump to linux sata drive first so swap sata cables
double check with a live cd that you put grub into the linux mbr and not overwrite your precious xp bootloader, heh heh
as per tut
terminal commmands are
su
grub
root (hd0,0)....assuming grub is in first partition
setup (hd0)
quit
then edit the new sata first drive....now linux /boot/grub/menu.lst file to reflect linux is hd0 and xp is hd1 and use the map commands as above
|