sudo ./tools/jetson-disk-image-creator.sh -o mon_image_fr.img -b jetson-orin-nano-devkit -d SD
you can see logs. I flash the sdcard with balena or tool dd, I get the same issue. ubuntu doesn’t boot
Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.
If this was an incorrect assessment, please send me a direct message.
Disclaimer: this moderation suggestion and message were generated with AI assistance.
The boot photos show an EXT4 error on mmcblk0p1 and EOFError: marshal data too short. This suggests corruption in the root filesystem or SD card.
Were the Etcher and dd tests performed on the same physical microSD card? If so, please write the same image to a different known-good 64 GB or larger UHS-I microSD card with Etcher and check whether the issue repeats. Please note that this will erase the second card.
The problem isn’t related to the SD card. It occurs after the SD card image is generated; it seems the script doesn’t handle the creation of the SD card partition very well.
My SD card has a capacity of 512 GB, and I flashed this image onto two different SD cards (512 GB each): I encountered the same problem.
But if I use this command line:
I’m able to flash my SD card in Jetson recovery mode.
I think the problem stems from the jetson-disk-image-creator.sh script; perhaps I’m not using the correct parameter.
Thanks for testing two different SD cards. This makes a fault in one particular card less likely, but completing the initrd flash alone does not confirm that jetson-disk-image-creator.sh is the cause.
After using l4t_initrd_flash.sh, does the same SD card boot successfully to the login screen or desktop with the same prepared rootfs?
Since your initrd flash command also includes the QSPI flash configuration, could you now try booting the other SD card that still contains the original image created by jetson-disk-image-creator.sh? Does it still show the same issue?
In your first post, you mentioned creating a user before generating the image. Could you share the exact command or script you used? In particular, was it l4t_create_default_user.sh?
This script skips oem-config, which normally resizes the APP partition on the first boot of an SD card image.
The command I use to create a default user account is: sudo ./l4t_create_default_user.sh -u simon -a–accept-license.
I had created an SD card image without creating a default user account, and I’m encountering the same problem.
I also retrieve the rootfs without modifying it, and when I create an SD card, I run into the same problem.
I would like to know if there’re another way to generate sdcard image? example with script flash.
Also, please confirm whether you are running it directly on a native Ubuntu 20.04 or 22.04 host, not inside Docker or a VM. (You did not answer this question above.)
Based on the results so far, the issue appears to be specific to the raw SD card image generation or boot path.
We will reproduce the setup internally and investigate further.
We will update this topic after we have the internal test results.
At the moment, I don’t have a 256 GB microSD card – I’m going to buy one – but I do have 128 GB and 512 GB microSD cards, and this problem occurs with those as well. Could you try using one of these microSD cards and see what happens?
We could not reproduce your boot failure internally, but we did reproduce part of it. On R39.2 the
image from jetson-disk-image-creator.sh never expands, so the root filesystem stays at its
generated size with no free space. Up to R36.5 this expansion was done on first boot by nvresizefs, which R39.2 no
longer ships.
The attached nvresizefs_backport.tar.gz restores it. Install it into the rootfs before generating
the image (steps are in the README), then regenerate, write the card, and boot.