I'm working on an encryption system for backtrack 3 live( encrypting the BT3 folder, and unencrypting with truecrypt during boot), and so far Ive put truecrypt into 'initrd.gz', patched 'linuxrc' and truecrypt runs and prompts for a password during the boot.

The only problem is truecrypt gives the error 'Failed to assign loopback device for file hosted volume' when mounting. I have done some research and it looks like that losetup is not compatible with unionfs which I think is running at that point. I have tried to fix the problem but have run out of ideas.

Does anybody have any other ideas?

Thanks for your help,


p.s. know this could be considered unethical as it would hide the hacking tools, but i am programming it solely for the intellectual value and because it would be cool. Furthermore it allows personal data to be secure and the root password to be changed.