HI,
I'm trying to encrypt the rootfs on a bootable mSD on a P2041 board.
My main reference is the Arch-Linux guide for encrypted roots under the "Luks on a partition" section.
What I have done so far:
cryptdevice=UUID=$device-uuid:crypo_rootfs root=/dev/mapper/crypto_rootfs
But the target machine waits for /dev/mapper/crypto_roots indefinitely as it seems not to be able to find and decrypt it.
Please refer to the following topics.
https://community.nxp.com/t5/i-MX-Processors/How-to-create-an-encrypted-rootfs/td-p/809102
https://devconnected.com/how-to-encrypt-root-filesystem-on-linux/
https://tldp.org/HOWTO/html_single/Encrypted-Root-Filesystem-HOWTO/
https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system