Would it be possible to use TrueCrypt(and its bootloader for Win7 and the shared partition, and somehow chainload GRUB for Kubuntu with encrypted partitions?

I am currently experimenting with a dual-booting VirtualBox machine, but no luck so far and it takes a long time to encrypt,despite giving 3 cores and 1536 RAM to the VM.

Any suggestions would be greatly appreciated.

Thank you!

UPDATE: I installed Win7 and encrypted it with TrueCrypt. I also encrypted my SHARED partition. Then I installed Kubuntu,installing GRUB to the /boot partition. Now I have an encrypted Kubuntu,with access to Win7 and SHARED, but I CANNOT boot into win7. The TrueCrypt Boot Loader appears,asks for password and redirects me to GRUB. I also tried booting from the TrueCrypt Rescue CD, but with no luck.

it only allows Windows system partition encryptiontruecrypt.org/downloads - maybe, but download for Linux, and encrypt what you want...
–
B. RolandMay 25 '11 at 15:43

1

I have, but this only allows me to encrypt/decrypt Windows and my shared files from Kubuntu. TrueCrypt does NOT offer a Linux system encryption,only file containers and other partitions. I also want to encrypt my Kubuntu install and choose which one to run at boot-time.
–
VivoMay 25 '11 at 16:16

3

Please put the sollution in as an answer and accept it yourself.It will get you some reputation and that way the question will not get kicked back to the top page.
–
RinzwindMay 25 '11 at 19:37

1 Answer
1

I fixed the above issue and now I have what I want. The issue was caused because I gave my /boot partition the "boot" flag. After giving the "boot" flag back to the encrypted Win7 partition, everything worked as intended by the developers.

Here are my exact steps, if anyone wants to create a similar setup:

Create 4 partitions with GParted (500GB Hard Drive)

100GB NTFS - Windows - Must have the "boot" flag

1GB ext4 - /boot

50GB empty - Kubuntu, LVM inside encrypted partition

349GB NTFS - SHARED

Install Windows 7 to the first partition

Encrypt the system partition with TrueCrypt, burn the Recovery Disk(not needed,but good for recovery)

Install Kubuntu 11.04 from ALTERNATE CD/ or Desktop DVD(Text Mode)

Make an encrypted volume in the 50GB partition.

Setup a LVM in the encrypted volume.

Make 2 logical volumes inside a logical group - 2/4GB swap, and remaining for /

Set the 1GB partition as /boot, DO NOT GIVE IT the "boot" flag

Install GRUB to /boot partition (/dev/sda2 in this case) DO NOT OVERWRITE the MBR.

When installation is done, restart the computer

On boot, TrueCrypt bootloader will load, enter password to boot into Windows.

Press Esc and the GRUB menu will be shown, passphrase will be required to unlock the Kubuntu partition.

To mount the SHARED partition:
In Windows: Open TrueCrypt as Administrator and add the SHARED partition as a "System Favorite" - the partition must use the same password as the Windows partition.
This will auto-mount the partition on Windows start-up FOR ALL USERS!!!

In Kubuntu: Open TrueCrypt and mount the SHARED partition. It will appear under /media/truecrypt* where * is the slot number in TrueCrypt. I am using NTFS for my SHARED partition and it works just fine under Kubuntu.