How to modify the rootfs of tx2nx and flash it easily?

I want to modify the rootfs. Because it’s too large. Most of them that I never used. Similarly, the “/usr/src/”, the graphics, and so on.

You can apply other rootfs.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/rootfs_custom.html

But just remember to add necessary nvidia drivers from apply_binaries.sh.

Another option is to manually remove content (preferably via the package manager), and when you get to where your system runs the way you want, then clone the rootfs. You can use the clone during flash instead of a default image. Do beware though that the clone has to be used with the same L4T release version (see “head -n 1 /etc/nv_tegra_release”) for this to work, whereas other customization methods can regenerate a working custom rootfs on any release.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.