- Shrink windows to free up some space for the ubuntu installation
- boot from the live-cd
- create partitions for the luks storage and /boot
- cryptsetup a new luks partition
- launch
disks
- unlock (unencrypt) luks crypted drive
- create vgcrypt-ubuntu-root on the unlocked luks drived
install ubuntu
on the vgcrypt-ubuntu-root and /boot
After installation do the following to make the system bootable.
mkdir /mnt/root
mount /dev/vgcrypt/ubuntu-root /mnt/root/
mount <boot device> /mnt/boot/
cd /mnt/root
mount --bind /dev dev
mount --bind /proc proc
chroot .
echo CRYPTSETUP=y >> etc/cryptsetup-initramfs/conf-hook
CRYPT=$(lsblk -f|grep crypto|awk '{print $3}')
echo $CRYPT is your luks crypt storage. Fix if not.
echo luks-${CRYPT} ${CRYPT} none luks,timeout=180 >> /etc/crypttab
update-initramfs -u
umount boot
umount proc
umount dev
exit
cd /
umount /mnt/root
reboot