Skip to main content

Resolve the issue of JetPack5 failing to boot from certain SSDs

This wiki provides a b_rief introduction to the components of JetPack, helping you quickly understand the relationship between JetPack and Jetson, and answering some of the most frequently asked questions.

1. Issue

If JetPack 5 is flashed to the SSD of Jetson, there is still a certain probability that the system may fail to boot even if the flashing process completes successfully. The following error may occur during startup:

This issue has also been documented on NVIDIA’s official forums. It may be caused by filesystem incompatibility or incomplete wiping during the flashing process, which leads to boot failure. So far, no similar issues have been observed when flashing and using JetPack 6 on Jetson devices.

2. Solution

Here are two solutions provided for your reference. You can choose based on your specific situation:

Option A

First, remove the SSD that fails to boot properly from the Jetson device, and connect it to your PC using an SSD enclosure (any compatible enclosure similar to the one shown in the image below). Proceed with formatting the drive.

Then, enter the following command in the terminal to locate the SSD mounted to the PC, which may be named sda, sdb etc.:

lsblk

If you're unsure which name corresponds to the SSD you inserted, you can check the contents of the mounted directory:

Taking the mounted directory in the image as an example, check whether there is a Jetson-specific device tree:

ls /your_path/boot
# For example: ls /media/darklee/bc5769eb-36d6-4c42-86d1-565554112264/boot

If it's the SSD from the Jetson, you will see results similar to the following image:

You can continue checking the contents of other files in the SSD's mounted directory to further confirm that it belongs to the Jetson.

danger

Please double-check to ensure accuracy before formatting the Jetson's SSD. If the SSD contains important data, be sure to back it up. Make sure you know what you're doing.

Once you've confirmed it's the Jetson's SSD and completed any necessary backups, proceed with a full format of the SSD。 bs=100M, count=800 formats the first 80GB of space. If your SSD has a larger capacity, you can increase the formatted space accordingly.

sudo wipefs -a /dev/sda
sudo dd if=/dev/zero of=/dev/sda bs=100M count=800

After the formatting is complete, reinstall the SSD into the Jetson. If the SSD has been thoroughly wiped, flashing JetPack 5 should theoretically prevent any boot failures.

Refer to this wik for instructions on flashing the Jetson.

Option B

Refer this wiki to prepare the source code project to flashing.

When executing ./tools/kernel_flash/l4t_initrd_flash.sh with the --erase-all parameter, the solid-state drive will be completely erased during the flashing process.

Resources

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...