Using Winvblock, install XP sp3 into image file on physical (hd0,0), then encrypt said Windows "system partition" with TrueCrypt. So the boot process would be g4d (physical MBR) -> TC bootloader/PBA (image MBR) -> boot into Windows.
The 1GB image file was created using CreateRawImg, mounted with ImDisk and formatted NTFS with compression. BOOTICE was used to add NT5 MBR. XP sp3/programs/Office installation went fine.
THE PROBLEM:
hide (hd0,0) map --mem /tcdisk.img (hd0) map --hook root (hd0,0) chainloader +1
Does not work (hangs with blinking cursor), but this does.
hide (hd0,0) map /tcdisk.img (hd0) map --hook root (hd0,0) chainloader /ntldr
So I proceed installing TrueCrypt into the image file installation, where it successfully installs the TC bootloader/PBA (if you open the image file you can see the string "TrueCrypt Boot Loader." Upon reboot, I get g4d (physical MBR) and asks to reboot. At reboot I enter in g4d (physical MBR):
hide (hd0,0) map /tcdisk.img (hd0) map --hook rootnoverify (hd0) chainloader +1
The TC bootloader/PBA comes up and I enter the correct password. At this point I see the text "Booting..." and then it hangs with a blinking cursor. So I'm guessing TC bootloader/PBA then tries to boot the NT5 PBR where it hangs because it does originally?
Attached are the image TC MBR and image NT5 PBR.
image host
Edited by dickfitzwell, 19 April 2011 - 04:07 AM.