Using the pre-installed Ubuntu Desktop 20.10 disk image for the Raspberry Pi 4 (64-bit ARM), you do not get an option to encrypt the disk using LUKS when you install the system, as you do with the x86 USB-based installers.
For reference, I followed the instructions here to get the system installed to an external SSD: https://ubuntu.com/tutorials/how-to-install-ubuntu-desktop-on-raspberry-pi-4#1-overview
In all, I am very satisfied with the install, but I would prefer if I was able to encrypt the whole drive. I don't want to bother figuring out how to just encrypt the home folder, so if anybody know hows to get a 20.10 install encrypted w/ LUKS at the time the OS is installed, I would appreciate hearing how you did it. Thanks!
(1) aes-adiantum-plain64 is not available on my machine, I wasted sometime on getting it but settled for aes-xts-plain64, it's much slower.
(2) cryptsetup is not available in initramfs on debian 10 images for raspi 4, tried a couple of things to get it but nothing as worked so far! :-(
Any further read ups would be appreciated. :-)
– atb00ker Jan 10 '21 at 14:45sudo mkdir mnt; sudo mount /dev/mapper/rootfs mntI get: mount: /home/blahblah/mnt: wrong fs type, bad option, bad superblock on /dev/mapper/rootfs, missing codepage or helper program, or other error. – astroboy Dec 09 '23 at 09:31sudo update-initramfs -u, I did arebootbut instead of prompting for passphrase, the initramfs shell is being loaded again. I need to manually decrypt the rootfs... – Preeti May 13 '24 at 14:22