I have recently flash my Jetson AGX Orin 32gb Module with JP6.1 and installed CUDA, etc on the internal eMMC. However, it is now FULL and I would like to transfer root and the system to an installed NVMe on the M.2 Key M socket. Is it possible and is there any script to do that?
FYI, you could first clone the existing rootfs as a backup. That takes a lot of space on the host PC, but it is an option before you do anything.
You could then flash using the initrd flash. Note that you could first use the clone to create your default flash content so you start out almost the same as with your current eMMC. Some of the content related to boot would change, but much of the rest would remain the same.
Note that your L4T release can be found with “head -n 1 /etc/nv_tegra_release”, and then you can find documentation on topics like initrd flash and cloning for that release here: https://developer.nvidia.com/linux-tegra
Regarding cloning, you can just clone the rootfs partition, and you can use any rootfs clone (the backup/restore information goes further than this because it assumes you are restoring exactly what you saved and not modifying some other flash) to replace the “Linux_for_Tegra/rootfs/” (more likely you’d save the original rootfs/ rather than just overwriting…there are options).