Yeah that will work, but what you need to be careful of is how the disks are connected when you install winXP, I'm not exactly sure what happens when you have bios set to boot from primary master with no partitions accessible by windows, and you try to install it to the second drive. It'll probably either complain or try to format your master drive. So I suppose if your hda doesn't have any fat/ntfs partitions, either set the bios to boot from hdb (D:\) or disconnect hda and physically swap hdb to hda, then install windows.
After thats done restore the original harddisk setup, boot into linux then put something like this in your grub.conf:
map (hd0) (hd1)
map (hd1) (hd0)
basically that tricks the nt os loader used in winxp into thinking that its the primary drive, like it was when its installed. Otherwise if you just try to load (hd1,0) without the mapping, it will complain.
Last edited by Demonbane; 12-09-2003 at 12:46 AM.