Split diskAssuming this split of disk:
- sda1 - >250MB Boot partition (unencrypted)
- sda2 - partition for Windows (will be encrypted by truecrypt)
- sda3 - Linux system partition (will be LUKS encrypted)
- extended partition
- sda5 - swap (will be LUKS encrypted)
- sda6 - home (will be LUKS encrypted)
- .... rest
Install Windows XPInstall windows to the second partition.
Install Linux + LUKSDuring installation of the linux (assuming the Fedora), install grub to boot partition (sda1).
Do not bother with putting it to sda at this point as the next step would rewrite it anyway.
Next step is to install realcrypt (truecrypt package for Fedora)
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install realcrypt
Take backup of the bootsector - to use it in windows boot loader later on. Copy the file to some flash disk or other computer to have it handy when you will be in windows.
dd if=/dev/sda of=sda_grub.mbr bs=512 count=1
Install Truecrypt to WindowsThis will reinstall the TrueCrypt to the master boot.
Copy the Grub master boot record to some direcotry in windows partition and configure the C:\boot.ini to be able to boot to grub from windows.
C:\BOOT\SDA_GRUB.MBR="Grub Master Boot"
Restore the Grub bootloader dominationReboot the machine and use the Grub line in NTloader to boot GRUB
Backup the Windows/Truecrypt boot sector
dd if=/dev/sda of=/boot/grub/sda_truecrypt.mbr bs=512 count=1
Modify Grub - /boot/grub/grub.conf - option for Windows truecrypt
title Windows XP
Reinstall Grub to master boot (sda=hd0) and to the boot partition (sda1=hd0,0)