I am following GitHub - JetsonHacksNano/rootOnUSB: Set rootfs to be on a USB drive for booting Jetson Nano
I have multiple USB HDD connected to Jetson.
In previous release I was to set PARTUUID of the partition with the rootfs.
With with latest version some how is not working its always using sd card as rootfs.
If I set root=/dev/sda1 sometimes it tries to boot from wrong partition and fails.
following is my /boot/extlinux/extlinux.conf file:
TIMEOUT 30
DEFAULT primary
MENU TITLE p3450-porg eMMC boot options
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} rootfstype=ext4 <b>root=PARTUUID=5d5d7022-01 </b>rw rootwait
LABEL emmc
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} rootfstype=ext4 root=/dev/mmcblk0p1 rw rootwait
cbootargs = tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem=0x800000@0x92cb7000 is_hdmi_initialised=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 root=PARTUUID=5d5d7022-01 rw rootwait
Can someone please help ?