In order for the bootloader to decrypt the root filesystem you just need the parameters cryptdevice=/dev/sda1:crypt root=/dev/mapper/crypt
. What would be the parameter for other filessystems than root so I am prompted for multiple device to decrypt (the equivalent of root=
for non root fs).
EDIT : If my encrypted data partition is /dev/sda2, will adding /dev/mapper/cryptsda2 in fstab be enough to tell the system to uncrypt /dev/sda2 first ?
cryptdevice=/dev/sda2:somename
might create/dev/mapper/somename
which you could mount – ilkkachu Jul 26 '16 at 11:08root=
– ChiseledAbs Jul 26 '16 at 11:18