- Install your USB SSD drive in USB port
- Format if new drive: At Jetson nano desktop, use "search" app, search and run "Disk"
- Confirm USB disk drive = /dev/sda1, create and format partition in type of ext4.
- Reboot and check mount of /dev/sda1 from terminal: $df -h
- Download from terminal:$git clone https://github.com/JetsonHacksNano/rootOnUSB
- $cd rootOnUSB
- $./addUSBToInitramfs.sh
- Ignore error, run:$ ./copyRootToUSB.sh -p /dev/sda1
- Get your disk UUID: $ ./diskUUID.sh
- copy text in terminal: "root=UUID=00000000-0000-0000-0000-000000000000 rootwait rootfstype=ext4"
- $cd /boot/extlinux/
- $sudo nano extlinux.conf , edit from this:
TIMEOUT 30
DEFAULT primary
MENU TITLE L4T boot options
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet
to this (the text root=UUID... is copy from step 10):
TIMEOUT 30
DEFAULT primary
MENU TITLE L4T boot options
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd-xusb.img
APPEND ${cbootargs} root=UUID=00000000-0000-0000-0000-000000000000 rootwait rootfstype=ext4
LABEL sdcard
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet
Reboot and finished, all data now transferred from SD card to USB SSD.
No comments:
Post a Comment