Dual Boot with Encrypted LVM
Hi Guys,
I'm trying to setup a Dualboot Debian Wheezy + Kali on a shared LUKS LVM.
I've got a 300MB ext4 boot partition and an encrypted volume containing 3GB swap (shared between the O.S) and my two root partitions (not interested in separate home folders as the drive is just 40GB and sharing one would just cause problems with differing program versions).
Debian Wheezy is up and running, now to setup Kali I boot onto my Live CD, load additional components 'crypto-dm-modules' then before partitioning I open a terminal with Alt+F2, install cryptsetup with 'anna-install cryptsetup-udeb' unlock my encrypted LVM with 'cryptsetup luksOpen /dev/sdc6 LUKS001'. I was expecting to add a line to /etc/crypttab so that it unlocks my LUKS on boot but it's a blank file.. I proceeded to install the system but as expected it fails to locate the Volume group, and exits to shell. Anyone able to give me a little guidance here? I know it's not your average build.. But I'm keen to have this shared LUKS container (I'm an IT Engineer, Kali is for clients and I like the concept of one crypto container with shared swap - Cheers
|