Dual boot XP/pro and linux (lindows)
Joel Hammer
Joel
Mon May 17 11:46:03 PDT 2004
Thanks for the detailed response. I really do get confused with booting
issues. I recall well when I first started with linux, I decided to
really understand the boot process. Now, all I care is if it works!
In this case, the suggestion to use the map-drive parameter solved the
problem. I will just add some detail here so others may benefit.
I bought a lindows computer with linux on the first hard drive. I
uninstalled this hard drive, and installed a new hard drive as the first
hard drive and installed XP on it. I then put the linux hard drive back as
the first hard drive and put the XP drive as the third IDE device (IDE2)
or as a secondary master (/dev/hdc). There is no /dev/hdb drive installed.
My entry for XP in lilo.conf is as follows:
other=/dev/hdc
label=MS_W<>?_XP
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
First, the label. I had typed just
label=XP
but something is smart enuf in lindows to recognize XP as important and
substituted the label you see above. This gives a nice WindowsXP with a
little R to show it is a trademark. I wonder why they went to the trouble?
Second, according to man lilo.conf, the above entry swaps drives C and D.
Now, being simple minded, I changed the 81 to 82 (hdc instead of hdb). But,
the 82's didn't work. So, I guess the bios assigns those numbers
sequentially to installed drives only.
So, everything works, even if I don't really understand it. Which, is just
fine with me!
Joel
On Sat, Mar 29, 2003 at 03:32:47PM -0500, Klaus-Peter Schrage wrote:
> 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
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list