dual booting XP and Linux

Ingemar Nilsson init at pdc.kth.se
Wed Apr 12 11:50:28 UTC 2006


Les Mikesell <lesmikesell at gmail.com> writes:

> Has anyone actually had trouble with fedora's automatic
> dual boot setup on an existing windows box since that
> size computation bug in FC2 days?

To make a long story short: Yes, I had. On a two disk system with one SATA
drive and one IDE drive, with Windows XP on the IDE drive and Fedora Core
on the SATA drive, the system would always try to boot from the SATA
drive. I quickly learned to install GRUB to /dev/sda instead of the default
/dev/hda, but it took a few more days to figure out why Windows still
refused to boot.

The problem was (and is) that the Windows boot loader expects Windows to be
installed on the first harddrive, and refuses to boot if this is not the
case. Adding

map (hd0) (hd1)
map (hd1) (hd0)

between the rootnoverify command and the chainloader command solved the
problem by tricking the Windows bootloader into thinking Windows is on the
first drive.

Regards
Ingemar




More information about the fedora-list mailing list