I tried using this guide as inspiration by creating the /etc/crypttab
file and add the following line:
nvme0n1p3 /dev/disk/by-uuid/<UUID-from-blkid> /home/user/<file containing recovery key> bitlkOpen
and then adding the following line to /etc/fstab
:
/dev/mapper/nvme0n1p3 /mnt/OS auto defaults
I ended up in emergency mode after rebooting with both commands stuck and had to reverse the commands.
I tried modifying the files as follows:
Windows UUID=<UUID-from-blkid> /home/user/<file containing recovery key> bitlk
and
/dev/mapper/Windows /mnt/OS auto defaults
When I tried sudo mount -a
I got the following error:
mount: /mnt/OS: special device /dev/mapper/Windows does not exist.
Any ideas what am I doing wrong?