Hi guys,
I've been trying to build Armbian with an encrypted rootfs, but I can't get it work...
If I build Armbian with the following build options it works fine:
sudo ./compile.sh \
BOARD=odroidxu4 \
BRANCH=current \
RELEASE=buster \
BUILD_MINIMAL=no \
BUILD_DESKTOP=no \
KERNEL_ONLY=no \
KERNEL_CONFIGURE=no \
COMPRESS_OUTPUTIMAGE=sha,gpg,img
But if I build Armbian with these build options (as above but including the CRYPTROOT options) it doesn't work:
sudo ./compile.sh \
BOARD=odroidxu4 \
BRANCH=current \
RELEASE=buster \
BUILD_MINIMAL=no \
BUILD_DESKTOP=no \
KERNEL_ONLY=no \
KERNEL_CONFIGURE=no \
COMPRESS_OUTPUTIMAGE=sha,gpg,img \
CRYPTROOT_ENABLE=yes \
CRYPTROOT_PASSPHRASE="yourpassword" \
CRYPTROOT_SSH_UNLOCK=yes \
CRYPTROOT_SSH_UNLOCK_PORT=2222
When I try to boot the image created with the CRYPTROOT options it gets stuck on "Starting Kernel...".
For reference the SBC I'm using is an Odroid HC2 with a serial console, and the build environment is as per the the documentation (Ubuntu Hirsute 21.04.x amd64 running as a virtual machine).
Is there anything that I'm doing wrong, or is there be something that I should be checking?