Piece of cake.
Create a partition for Windows and install it from the CD-ROM.
Afterwards boot a Knoppix LiveCD, and:
$sudo grub $grub>find /boot/grub/stage1
This delivers (hdX,Y)
$grub>root (hdX,Y) $grub>setup (hdX) $grub>quit
Now you will be able to reboot to Ubuntu.
There:
$sudo fdisk -lu
find XP partition, for example hda3 (a -> 0, 3->2 => (hd0,2) in grub)
Then add to /boot/grub/menu.lst:
title Microsoft Windows XP Home Edition root (hd0,2) savedefault makeactive chainloader +1
Done!

4 comments
Comments feed for this article
26/06/2009 at 04:26
Paul
This seems like an easy enough process. I used my Jaunty LiveCD to create a partition on my main hard drive (the same one with my main jaunty boot. It won’t allow me to intall windows on the NTFS partition, as it says that it also needs to write to the main partition which is incompatible with windows (it is EXT4). Any ideas?
26/06/2009 at 21:44
mrdropd
My first guess would be to remove the NTFS partition with the LiveCD, leave it as empty space, and let Windows setup format it to NTFS.
Something else worth trying is remove all other harddrives for the installation. Good luck with it!
28/06/2009 at 16:38
Paul
I gave up and just installed xppro in a virtual drive in virtualbox inside Ubuntu. This is the way I wanted to move anyway. I only use Windows to make itunes work.
29/06/2009 at 14:49
mrdropd
Great. I also use Windows only for playing games now and then. Emulation is not fast enough on my PC then.