I am currently trying to flash JetPack 5.1.2 to a Jetson Orin Nano Dev Kit with a 1TB NVMe SSD using the SDK-Manager (1.9.3) on Ubuntu 18.04. I am running Ubuntu in WSL2 as I don’t have access to a physical machine with Linux.
The installation is failing at roughly 5.5% with the following error:
09:28:47 ERROR: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
09:29:38 SUMMARY: Drivers for Jetson - target_image: Install completed successfully.
09:32:22 ERROR: File System and OS - target_image: chroot: failed to run command ‘dpkg’: Exec format error
09:32:22 ERROR: File System and OS - target_image: command terminated with error
09:32:22 SUMMARY: File System and OS - target_image: First Error: Installation failed.
09:32:22 SUMMARY: NVIDIA Container Runtime with Docker integration (Beta) - target: Depends on failed component
09:32:22 SUMMARY: Multimedia API - target: Depends on failed component
09:32:22 SUMMARY: TensorRT on Target - target: Depends on failed component
09:32:22 SUMMARY: TensorRT Runtime - target: Depends on failed component
(and a few more failed compontents)
I think the dpkg error at 09:32:22 is the actual problem, however i have no real idea what that means or how to fix it.
I also tried flashing via a Ubuntu 18 VM before, which did not work either.
Edit:
After restarting WSL and trying to flash again with a different USB cable I got a slightly different error:
10:15:33 SUMMARY: Drivers for Jetson - target_image: Install completed successfully.
10:19:19 ERROR: File System and OS - target_image: mknod: /home/ubuntu/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs/dev/random: File exists
10:19:19 ERROR: File System and OS - target_image: command terminated with error
10:19:19 SUMMARY: File System and OS - target_image: First Error: Installation failed.
10:19:19 SUMMARY: NVIDIA Container Runtime with Docker integration (Beta) - target: Depends on failed component
10:19:19 SUMMARY: Multimedia API - target: Depends on failed component
Following attempts result in the dpkg error again
yes, I followed the instructions. (I am using the GUI of the SDK Manager in WSL2) and the Jetson Orin Nano does get properly recognized by the SDK-Manager when preparing the installation.
Unfortunatly I don’t have a physical PC I could use for Ubuntu available at the moment which is why I went for WSL.
Is there any way to use the Jetson to setup an NVMe-SSD while it is running on an SD-Card? I tried cloning with
“dd if=/dev/[mySdCard] of=/dev/[myNVMe] bs=64K conv=noerror,sync status=progress” and it actually looked like it worked as all partitions were seemingly cloned successfully, but the Jetson is not able to boot from the SSD (cooler stopped, then nothing). Is there any other way to this that might work?
Hi,
Do you mean you would like to make NVMe SSD as rootfs and boot from it? If your rootfs is on SD card, it has to boot from SD slot and cannot dynamically switch to boot from NVMe SSD.
Sorry, I am not that strong with Linux. What I did was boot the Jetson with the SD-Card normally while my SSD was also inserted and then cloning the content (all partitions) of of the SD-Card to the SSD. Then I shut the device down, removed the SD-Card and tried to boot from the SSD, which did not work.
Could I alternativly install the SDK-Manager on the Jetson and use the Jetson to flash the NVMe SSD?