Hello everyone.
I am trying to encrypt a 1 TB SSD for Jetson Orin NX. The carrier board is the original one. The host machine is running Ubuntu 22.04 with JetPack 6.2.1 and the latest updates.
The host connects to the carrier via USB Type-C.
In the process, I generate the keys, EKB, eks_t234_sigheader.img.encrypt, place them in the folders,
- generate the encrypted image
sudo ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --no-flash --external-device nvme0n1p1 -i ./sym2_t234.key -c ./tools/kernel_flash/flash_l4t_t234_nvme_rootfs_enc.xml -S 715GiB --external-only --append --network usb0 jetson-orin-nano-devkit external
- flash A_eks
sudo ./flash.sh -c bootloader/generic/cfg/flash_t234_qspi.xml -k A_eks --no-systemimg jetson-orin-nano-devkit-nvme nvme0n1p1
- flash the image itself
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --showlogs --network usb0 --flash-only
but after flashing and rebooting, the following error occurs
[ 9.413300] ERROR: fail to unlock the encrypted dev /dev/nvme0n1p2.
[ 9.415515] Kernel panic - not syncing:
[ 9.415519] Attempted to kill init! exitcode=0x00007f00
[ 9.415523] CPU: 3 PID: 1 Comm: bash Not tainted 5.15.148-tegra #1
[ 9.415527] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.4.4-gcid-41062509 06/16/2025
I noticed that before flashing
UUID: DAB7D5AC-F212-4270-91CC-4BFF6409EC0C
and after flashing
UUID 24dc4ee0-8b6a-47a2-8d48-548cb86069c2
I repeated the process more than 5 times - reproducibility 100% - the disk UUID changes and accordingly during boot the Jetson incorrectly forms the passphrase.
Any help is welcome.
