work in progress:
If you are somehow like me (you hate reading), scroll down to the bottom and read the last two lines.
Do it once or twice in Vbox or qemu and it should work.
What you need:
refracta-live-CD
http://www.ibiblio.org/refracta/
zinstaller by fsmithred:
https://github.com/fsmithred/refracta
a) boot the refracta CD
b) download the zinstaller-script
c)
apt-get install cryptsetup
modrobe dm-mod
d) run the script by:
bash zinstaller.02
e) it asks you to use gparted: say yes.
create a boot partition and a partition for root.
i also created a partition for /home and for swap.
My size for VBox (i want to use grml-iso in boot!):
/boot -> 1GB -> ext2
/ -> 3.5 GB -> ext4
/home -> 3.5GB -> ext4
swap -> 1GB
close gparted
f) questions by zenity:
pick the mbr-partition for grub, in case you want to install it. For me /dev/sda
pick the /boot partition. For me /dev/sda1. make it ext2
pick a partition for /. For me /dev/sda2. make it ext3 or ext4
It asks you if you want to encrypt it. Chose yes.
pick a partition for /home in case you want that. For me /dev/sda3. make it ext3 or ext4.
It asks you if you want to encrypt it. Chose yes.
Last question: You will be asked if all is ok. Have a sharp look and say yes, in case all your choice are correct.
Zenity will close
g)
to encrypt the / partiton you will be asked and warned:
Are you sure? (type uppercase yes):
Type "YES"
enter a passphrase and confirm it.
To mount it you will have to enter the set passphrase immediatly.
Do the same for /home
h) wait.
Done.
Nice and easy.
The short version:
download refracta, download zinstaller.sh, run bash zinstaller and make use of common sense.
you will need a /boot partition, all the rest if self-explanatory. I think.