Dual boot XP/pro and linux (lindows)

Klaus-Peter Schrage kpschrage
Mon May 17 11:46:02 PDT 2004


Joel Hammer wrote:

> I suspect this may have to do with the fact that windows doesn't like being
> on the third (ID2) hard drive, especially since when I installed XP on this
> drive it was IDE0. 

WIN XP may reside anywhere (I have installed two instances of it). But, 
as far as I know, the XP bootloader (you need it, even if booting from 
lilo or grub) must be in the boot record of the first partition of the 
boot drive, which you have moved after installing XP as far as I 
understand you.

I'll give you (part of) my scenario:
/dev/hda1: a vfat partition, used for data exchange Win XP<->Linux 
("drive c:")
/dev/hda2: small Linux /boot partition
/dev/hda3: / for Redhat 8.0
...
/dev/hda6: ntfs partition with XP Pro ("drive d:")
Now, grub ist installed in the Master Boot Record of /dev/hda; when the 
grub menu shows up and I chose the XP entry, the XP bootloader in the 
boot record of /dev/hda1 gets invoked, in grubbish:
	rootnoverify (hd0,0)
	chainloader +1
(I think, 'other=/dev/hda1' should be the equivalent in lilo.conf).
The XP loader now reads boot.ini in drive c:, which tells him to look 
for Windows in drive d:
FYI, here's the relevant part from my boot.ini:

[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(5)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Windows XP Prof auf D:" 
/fastdetect

I don't know if this helps you any further, and perhaps others may find 
more constructive advices than to reinstall XP.

Klaus



More information about the Linux-users mailing list