Encrypted ssd nvme on Jetson Orin NX

hello slobodenuksk,

FYI, we’re not supported disk encryption with a prompt for passphrase by default.
please customize it (a prompt for passphrase) by yourself, please see-also Topic 316813.

it’s failed to unlock NVMe according to your latest logs..

[   10.319195] ERROR: fail to unlock the encrypted dev /dev/nvme0n1p2.
[   10.321462] Kernel panic - not syncing:
[   10.321465] Attempted to kill init! exitcode=0x00007f00
[   10.321469] CPU: 4 PID: 1 Comm: bash Not tainted 5.15.148-tegra #1
[   10.321472] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.4.4-gcid-41062509 06/16/2025

this usually due to mismatch key within your EKB. please see-also Topic 270934 for the steps to enable disk encryption with a custom key.