
On 2021-03-20 11:37, Mateusz CzerwiĆski wrote:
Hello all! It's my first message; I'm linux entusiast, not expert. I would love to install CRUX at mine unbricked chromebook. I know it's not deamon :) Is there any, good, guide how to encrypt full disk at installation? Any protips what should I read before? I seen guide at crux.nu wiki but it seems uncomplished howto, and a little bit out-to-date.
Greetings! Not a guide but I recently tested doing this with a fresh CRUX install using cryptsetup, lvm, and dracut, which seems to work well. Used cryptsetup to create the encrypted disk container, vgcreate and lvcreate to set up / and swap inside the container, ran setup, then made sure to install lvm2, cryptsetup, and dracut after setup but before rebooting. The important part is dracut or similar initramfs generation tool to make sure you can unlock the cryptsetup device at boot. Hope that helps, maybe in conjunction with the guide Silvino Silva linked. Regards, Matt