cross-posted from: https://lemmy.ca/post/20291268
I recently acquired a Raspberry Pi 5, but I’ve been having a lot of difficulty in getting LUKS encryption to work. Has anyone had any luck?
Also, I am using an NVMe drive, so Raspbian is really the only OS that works well. NetBSD can see the disk, too, but I found it annoying to use; and FreeBSD ended up breaking itself. I have not yet tried Armbian.
When I needed to do this, I used this project and then extracted the logic and made my own script, hope it helps: https://github.com/unixabg/cryptmypi