TX2 File System and OS error

When i use sdkmanager, I find this error in Jetson OS image:

18:12:29 INFO : File System and OS : [ Disk Avail:9.89 GB ]
18:12:29 INFO : File System and OS : Using GenericInstaller to Install NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP
18:12:29 INFO : File System and OS : NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP include 1 package
18:12:29 INFO : File System and OS : change working directory to /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs/
18:12:29 INFO : File System and OS : [ Package PreInstall Started ]
18:12:29 INFO : File System and OS : current working directory is /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs
18:12:29 INFO : File System and OS : exec_command: sudo apt-get install -y qemu-user-static
18:12:29 INFO : File System and OS : Reading package lists...
18:12:29 INFO : File System and OS : Building dependency tree...
18:12:29 INFO : File System and OS : Reading state information...
18:12:29 INFO : File System and OS : qemu-user-static is already the newest version (1:2.5+dfsg-5ubuntu10.42).
18:12:29 INFO : File System and OS : The following packages were automatically installed and are no longer required:
18:12:29 INFO : File System and OS : libblas-common libgfortran3 libopenblas-base
18:12:29 INFO : File System and OS : Use 'sudo apt autoremove' to remove them.
18:12:29 INFO : File System and OS : 0 upgraded, 0 newly installed, 0 to remove and 616 not upgraded.
18:12:29 INFO : File System and OS : [ Package PreInstall Finished Successfully ]
18:12:29 INFO : File System and OS : [ Package Install Started ]
18:12:29 INFO : File System and OS : current working directory is /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs
18:12:29 INFO : File System and OS : exec_command [host]:
18:12:29 INFO : File System and OS : **********************
18:12:29 INFO : File System and OS : #!/bin/bash
18:12:29 INFO : File System and OS : set -e
18:12:29 INFO : File System and OS : sudo tar xpf /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_3/Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2
18:12:29 INFO : File System and OS : cd ..
18:12:29 INFO : File System and OS : sudo ./apply_binaries.sh
18:12:29 INFO : File System and OS : sudo mkdir -p rootfs/opt/nvidia/deb_repos
18:12:29 INFO : File System and OS : **********************
18:12:29 INFO : File System and OS : exec_command: /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP.sh
18:15:00 INFO : File System and OS : Using rootfs directory of: /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs
18:15:00 INFO : File System and OS : ||||||||||||||||||||||| ERROR |||||||||||||||||||||||
18:15:00 INFO : File System and OS : -----------------------------------------------------
18:15:00 INFO : File System and OS : 1. The root filesystem, provided with this package,
18:15:00 INFO : File System and OS : has to be extracted to this directory:
18:15:00 INFO : File System and OS : /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs
18:15:00 INFO : File System and OS : -----------------------------------------------------
18:15:00 INFO : File System and OS : 2. The root filesystem, provided with this package,
18:15:00 INFO : File System and OS : has to be extracted with 'sudo' to this directory:
18:15:00 INFO : File System and OS : /media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310/Linux_for_Tegra/rootfs
18:15:00 INFO : File System and OS : -----------------------------------------------------
18:15:00 INFO : File System and OS : Consult the Development Guide for instructions on
18:15:00 INFO : File System and OS : extracting and flashing your device.
18:15:00 INFO : File System and OS : |||||||||||||||||||||||||||||||||||||||||||||||||||||
18:15:00 INFO : File System and OS : exit status 1
18:15:00 INFO : File System and OS : [ Package Install Finished with Error ]
18:15:00 INFO : File System and OS : [ 1.02 MB used. Disk Avail: 9.89 GB ]
18:15:00 INFO : File System and OS : [ NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP Install took 2m32s ]
18:15:00 ERROR : File System and OS : Run commands failed at step Install: command /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP.sh finished with error
18:15:00 INFO : File System and OS :
18:15:00 ERROR : File System and OS : command terminated with error
18:15:00 ERROR : File System and OS : install 'File System and OS' failure, command < cd '/media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9GSUxFX1NZU1RFTV9BTkRfT1NfVDE4Nl9DT01QIiwibmFtZSI6IkZpbGUgU3lzdGVtIGFuZCBPUyIsImRlc2NyaXB0aW9uIjoiRmlsZSBTeXN0ZW0iLCJjb21wVHlwZSI6InRhcmdldF9pbWFnZSIsImlzVmlzaWJsZSI6dHJ1ZSwibGljZW5zZUlkIjoiTlZfSkVUUEFDS19PU19FVUxBIiwiaXNEZXRlY3RhYmxlSW5zdGFsbCI6ZmFsc2UsImlzSW5zdGFsbFBhdGhDdXN0b21pemFibGUiOnRydWUsInZlcnNpb24iOiIzMi4zIiwib3BlcmF0aW5nU3lzdGVtcyI6WyJ1YnVudHUxNjA0IiwidWJ1bnR1MTgwNCJdLCJpbnN0YWxsU2l6ZU1CIjozMjg0LCJkb3dubG9hZEZpbGVzIjpbeyJ1cmwiOiJUMTg2L1RlZ3JhX0xpbnV4X1NhbXBsZS1Sb290LUZpbGVzeXN0ZW1fUjMyLjMuMV9hYXJjaDY0LnRiejIiLCJmaWxlTmFtZSI6IlRlZ3JhX0xpbnV4X1NhbXBsZS1Sb290LUZpbGVzeXN0ZW1fUjMyLjMuMV9hYXJjaDY0LnRiejIiLCJzaXplIjoxMjYzMjI4ODg5LCJjaGVja3N1bSI6IjMxYzlmOTc1YWIxOTY4NDk4M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bmdlL0pldHNvbjRfMl8xL1NESyIsImJvYXJkSUQiOiJQMzMxMCIsInRhcmdldEFjY2Vzc0luZm8iOnsidXNlciI6IiIsInBhc3N3b3JkIjoiIiwiaG9zdCI6IjE5Mi4xNjguNTUuMSIsInBvcnQiOiIyMiJ9LCJpc0RyeVJ1biI6ZmFsc2V9' -i='NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP' -v='32.3' -l='/media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_2_1/SDK/JetPack_4.3_Linux_P3310' -L='/home/greepex/.nvsdkm/logs/JetPack_4.3_Linux' -p='21906' -t='P3310' -e='/media/greepex/4E9AEFD29AEFB49D/Homework/ICRA_AI_Challenge/Jetson4_3/Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2' > terminated with error

so, what should i do? Jetson 4.3, Thx

I’m not sure if the available disk space is listed for host or Jetson, but if this is for the host PC, then you need a lot more space before starting. That specific comment about sudo is related to needing root authority in parts of the operation.

More specifically, you need to run JetPack/SDK Manager as a regular user, but that user must have the ability to use “sudo” (JetPack/SDKM should ask for your password, and if the password works for sudo, then you are ok). Just to see if you can use sudo, does “sudo pwd” work on the Ubuntu host PC, or is this command denied?

On the host PC, from the home directory of your user (e.g., “cd” with no arguments goes there), what do you see from “df -H -T”?

Note that using “/media” is ok for some content, but unless this is ext4 filesystem type, then there are several places this will fail if the media there is not ext4 (e.g., if it is VFAT or NTFS, then some content types cannot preserve Linux file permissions and will guarantee failure). In the previously listed command “df -H -T” you will see a filesystem type column. Be certain your “/media” directory has both enough space and space of type ext4.

I found the cause of the error. That is to say, the directory where the system is installed must be group root and user root. If you want the file to belong to root, the file must belong to the system disk. The size of my system disk is too small, so I put it into another disk (the files of other disks cannot be modified to root owned), so this error occurs.

Non-Linux filesystem types have no ability to understand groups, and so even if the disk were large enough, then anything VFAT/FAT32/NTFS will fail.