How to flash custom rootfs

@DavidDDD Thanks for that. I saw that too and tried this method. But this method is also not working. I also used -S perameter with 60GiB, 30GiB although the modified rootfs is about 11Gb. My nvme is 128 Gb. But none of this work.

I have looked into this issue and modifed the command for 35.4.1 but still not working.
Not enough space when flashing customized rootfs - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums

I rename the orginal rootfs, now I can not flash that also.

Am I missing somehting ?