Xavier NX stalls after apt upgrade and rebooting

I have a very similar issue mentioned in:

after a fresh flash of Jetpack 5.1.3 to my Xavier NX running sudo apt update && sudo apt upgrade and rebooting. I get stuck with the error:
[ 6.172292] No root-device: Mount failed

Here is my debug port dump:
boot.txt (59.8 KB)

I assume this is the solution:

but I am unsure of how to apply the patch while my jetson won’t boot.

This is the solution to avoid the error and you need to conduct it “before” running apt upgrade.

If the error already happened, then this patch won’t bring it back.

So I would still have to reflash or could I do the weird fix in /boot/extlinux/extlinux.conf:

Actually this error is just a “space” got added in kernel cmdline in extlinux.conf with “root=xxxx”.

If you can mount the nvme and go to update /boot/exlinux/extlinux.conf (remove space) then your next boot will work.

If you don’t know what I am talking about, then just reflash your board.

I was able to find the file I just did not know how to edit it.
Then I remembered busybox had vi so I was able to get it to work.

Thank you so much for your time.

1 Like

Actually, I have a different error now after rebooting:

Device /dev/sd?1 does not exist
Checking whether device /dev/nvme?n1p1 exist
[    5.465345] tegra_cec 3960000.tegra_cec: Can't find physical address.
[    5.465537] tegra_cec 3960000.tegra_cec: tegra_cec_init Done.
Looking for OTA work directory on the device(s): /dev/nvme0n1p1
mount /dev/nvme0n1p1 /mnt
[    5.501060] EXT4-fs (nvme0n1p1): recovery complete
[    5.501362] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
is_boot_only_partition /mnt
OTA work directory /mnt/ota_work is not found on /dev/nvme0n1p1
[    5.542551] usb 1-3: New USB device found, idVendor=1358, idProduct=c123, bcdDevice= 0.00
[    5.542750] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.542912] usb 1-3: Product: Bluetooth Radio
[    5.543008] usb 1-3: Manufacturer: Realtek
[    5.543092] usb 1-3: SerialNumber: 00e04c000001
Finding OTA work dir on internal storage device
mount /dev/mmcblk0p1 /mnt
[    5.591193] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
is_boot_only_partition /mnt
OTA work directory /mnt/ota_work is not found on /dev/mmcblk0p1
OTA work directory is not found on internal and external storage devices
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.0#

The weird thing is I have 2 jetsons and the fix worked for one of them while the second one produced this error.

Check this post so your device boots with the default mode:

ok yeah, that fixed it.

Thank you so much again.
(sorry for asking for help a second time)

Hello, I have the same problem.
I have flashed and installed the SDK Manager packages on my Nvidia Jetson Xavier NX, but after the command “sudo apt-get upgrade” I can no longer boot. The error screen is always the following:

I followed the steps to change the “OS chain A status” but that didn’t solve the problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hi @ExailDeveloper
Please open a new topic for your issue. Thanks