Re: Linux, XP, Win2003 Server multi-boot



I like to use a variant of this on my Thinkpad laptops. The TP boot code occupies more sectors than a "standard" boot and if improperly modified, loses access to the HDD recovery partition.

I construct two appropriately sized primary partitions and then install XP on the first one. The second contains the Linux /boot directory. Grub is installed on the /boot partition just as you do. I've also done this on a new machine by shrinking the C: partition using Partition Magic then constructing the second primary out of the free space. I then use Partition Magic to set the second partition as the active, bootable partition. Once Linux has booted up, I modify the grub configuration file to allow booting to the XP partition.

I also noticed on a recently purchased desktop system that the XP boot was split between two primary partitions. This would further complicate this process but is still doable because you can have four primary partitions, one of which is usually reserved for the extended partition.

If you want to do it the other way, booting XP first, you can modify the boot.ini file (read only, hidden, system attributes)in XP's root directory to give you the option of booting linux's grub from the second primary partition.

Phil Sherman


dold@xxxxxxxxxxxxxxxx wrote:
Christina <designer@xxxxxxxxxxxxxx> wrote:
There are so many conflicting instructions I'm not sure what to do. Can someone guide me to a definitive answer?

I installed WinXP first, specifying a FAT32 file system so that I could
mount it under Linux later. I made a nominal sized partition and left the
rest of the disk unused.

Then I installed RedHat Fedora 6 and used the "empty" space on the drive
for the linux installation. I chose manual editing, and used an advanced
option on the "Grub" page to install the Linux boot in /dev/hda2, not on
the MBR. Windows doesn't know that Linux exists. The MBR is untouched.

I booted "rescue" mode, and did a dd of the first 512 bytes of /dev/hda2,
where the linux loader lives, to a file on the mounted windows volume, and
then call that file from boot.ini as a dual boot.

Not definitive, to be sure, and no details.

This same method did not work for a machine with WinXP on the first drive,
and Linux on the second drive. I used a windows tool called bootpart to
help with that install.

It did not work for a system with Linux on a bootable external drive.
There were more steps needed for that.

I found linuxforums.org to be helpful in my quest, but I don't find
definitive pages that seem to be current.

.



Relevant Pages

  • Re: Installation order for VISTA/RH5 dual boot
    ... then again I didn't separate out /boot for Linux or Vista but I ... Partition 0: 75MB (VISTA boot partition??) ... Install XOSL in it own dedicated small partition. ...
    (RedHat)
  • Reinstalled NT; cant load dos
    ... I installed NT4 and RH Linux 6.2 before. ... After I reboot and come to LILO boot: ... Is it because I need to wipe out Linux and install NT, ... I suspect NT install screwed up the first partition. ...
    (comp.os.linux.misc)
  • Reinstalled NT; cant load dos
    ... I installed NT4 and RH Linux 6.2 before. ... After I reboot and come to LILO boot: ... Is it because I need to wipe out Linux and install NT, ... I suspect NT install screwed up the first partition. ...
    (comp.os.linux.setup)
  • Re: Dual Boot Instructions
    ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: dual booting linux/ windows XP. fdisk compatibility problem?
    ... > I am trying to built a system that boots both Windows XP and Linux ... I had the exact same result with trying to boot NT using LILO. ... > I tried to install XP on a harddisk that previously had contained Linux. ... after the initial copy of file to the installation partition ...
    (comp.os.linux.setup)