Test Environment:
-
Jetson AGX Thor Dev-kit
-
JetPack 7.0
-
32GB USB device
-
Ubuntu 22.04 Host PC
I have been following NVIDIA’s official guide ( Flashing Support for Jetson Thor — NVIDIA Jetson Linux Developer Guide )
for cloning rootfs with initrd, and encountered a few issues:
- On the Host PC, when executing:
./bootloader/mksparse --fillpattern=0 system.img.raw system.img
I received the error:
size of system.img.raw is not multiple of 4096
I resolved this by using the following script and was able to continue testing:
filesize=$(stat -c%s system.img.raw)
remainder=$((filesize % 4096))
if [ $remainder -ne 0 ]; then
pad=$((4096 - remainder))
dd if=/dev/zero bs=1 count=$pad >> system.img.raw
fi
- After flashing the image to the Jetson AGX Thor, the Debian packages appear correctly installed, but the files I had added under
/home/<username>on the Host PC are missing.
If there is another setting I may have missed?
I would greatly appreciate your guidance on this matter.
Thank you.

