I've had some success with manually partitioning and installing LVM & LUKs.
The partitions are created - home, root, swap and boot, the pv and vg's were all created and set up correctly.
I installed from Live and everything in the file system installed to the right places.
I chroot and mounted and set up /etc/crypttab with the correct UUID and /etc/fstab is pointing to the right mapper and UUIDs (based on blkid output).
At this point I try a couple of approaches to try and get the bootloader and grub to give me a password login screen that will decrypt what I referenced in /etc/crypttab.
First approach -
mount -t proc proc /proc
mount -t sysfs sys /sys
update-initramfs -u
running this tells me
/usr/sbin/iucode_tool: cpuid kernel driver unavailable, cannot scan system processor signatures
Second approach -
Checking for /etc/mkinitcpio.conf to add lvm2 and encrypt and then followed by
mkinitcpio -p linux
This doesnt work either because mkinitcpio doesnt exist.
After some research I was thinking that /etc/crypttab perhaps is enough for the existing init processes?
Third approach -
Editing /etc/default/grub to add
GRUB_ENABLE_CRYPTODISK=y
and then running
grub mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda1
The problem I am getting with this I am getting
/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/ubuntu-rootvol'
I know it should be fairly simple to get this boot screen with password sorted out but I'm out of options. Please can you tell me the correct method for having Ubuntu reference /etc/crypttab
Thanks for your help!