rootOnUSB
rootOnUSB copied to clipboard
Recommendation: Linux swap partition in addition to the system partition on USB drive
Thanks for the instructions on how to move the root partition of the Jetson Nano to a USB drive. It works perfectly for me (July 2020). One note: In step two I would recommend to create a Linux swap partition in addition to the system partition. The performance of a swap partition on a USB SSD drive is much better (and more reliable in the long run) than the standard swap areas on the SD card. When memory is running low (happens fast with only 4 GB RAM), this makes a big difference.
After reboot the SD card swap areas can be disabled with the following shell command:
sudo swapoff -a
And then the new swap partition can be activated:
sudo swapon -U {UUUID of the newly created swap partition}
Of course the new swap configuration can also be set up permanently.