[QUESTION] Jetson AGX Orin Disk Encryption: System Fails to Boot with “Unable to mount root filesystem” Error
Problem Description
I’m attempting to enable disk encryption on a Jetson AGX Orin device using NVIDIA’s official documentation, but after successfully flashing the encrypted root filesystem, the system fails to boot and shows the error: “Unable to mount root filesystem”.
Environment Details:
-
Hardware: NVIDIA Jetson AGX Orin Developer Kit
-
Software Versions:
-
-
tegra_linux_sample-root-filesystem_r36.4.0_aarch64.tbz2 -
jetson_linux_r36.4.0_aarch64.tbz2
-
-
Security Configuration: Enabled Secure Boot and disk encryption
Steps Followed (As Per NVIDIA Documentation)
Step 1: Configure Fuses
I created a fuse configuration XML file with the following settings:
<genericfuse MagicId="0x45535546" version="2.0.0">
<fuse name="PublicKeyHash" size="64" value="0x[REDACTED-64-BYTE-HASH]"/>
<fuse name="SecurityMode" size="4" value="0x0"/>
<!-- SBK randomly generated -->
<fuse name="SecureBootKey" size="32" value="0x[REDACTED-32-BYTE-KEY]"/>
<fuse name="OemK1" size="32" value="0x[REDACTED-32-BYTE-KEY]"/>
</genericfuse>
Step 2: Verify Current State
Before flashing, I checked the device status:
sudo ./flash.sh --read-info jetson-agx-orin-devkit internal
Output showed:
Board ID(3701) version(501) sku(0005) revision(G.0) Preset RAMCODE is 3 Chip SKU(00:00:00:D0) ramcode(3) fuselevel(fuselevel_production) board_FAB(501) ECID is 0x80012344705E005E140000000DFE0200
PublicKeyHash: a9650f99848475ce8017d914443396c74aed273f8d3398ab181225791266939abcff9036a79cc45044e8766734871b726552d2e511af391eb0006ea158634b10
BootSecurityInfo: 000001e0
SecurityMode: 00000000
...
Step 3: Create EKS (Encrypted Key Store) Image
As per documentation, I generated the EKS image:
cd Linux_for_Tegra/source/optee/samples/hwkey-agent/host/tool/gen_ekb/
./example.sh
Then copied the EKS image to the bootloader directory.
Step 4: Flash Encrypted RootFS
I followed NVIDIA’s disk encryption guide and executed:
sudo ROOTFS_ENC=1 ./flash.sh -i "./disk_enc.key" jetson-agx-orin-devkit internal
The flashing process completed successfully with no errors reported.
The Problem
After the flashing process completed successfully, I rebooted the system. During boot, I encountered the following error:
Error Message:
The system hangs at this point and cannot proceed to the login prompt.
What I’ve Tried (Without Success)
-
Re-flashing without encryption: When I flash without disk encryption, the system boots normally.
-
Verifying the encryption key: I confirmed the
disk_enc.keyfile exists and contains the correct key used during flashing. -
Checking bootloader configuration: The bootloader seems to recognize the encrypted partition but fails to decrypt it.
-
Reviewing kernel logs: The error suggests the kernel cannot find or mount the root filesystem.
Additional Information
-
The encryption key was generated using proper cryptographic methods
-
I’m following NVIDIA’s official documentation: Disk Encryption Guide
Request for Help
I would greatly appreciate any insights, debugging steps, or solutions from the community. This appears to be a critical issue preventing the deployment of secure, encrypted systems on Jetson Orin platforms.
Thank you for your time and assistance!
