With only the USB stick plugged in, boot into Debian, and
1. Use fw_setenv to set uBoot envs the same way you set arcNumber before (put the value in quote if there is space)
2. Use tune2fs command to set label
3. Reboot to verify that it boots successfully.
4. Shutdown, unplug the power, plug in the SATA disk.
5. Power up again. After it booted into Debian, verify the disks are mounted correctly:
mount
The USB stick should show:
And the HDD should show /dev/sda1 and other info.
1. Use fw_setenv to set uBoot envs the same way you set arcNumber before (put the value in quote if there is space)
fw_setenv usb_rootfstype ext2 fw_setenv usb_init 'run usb_scan ; setenv usb_root LABEL=rootfs'
2. Use tune2fs command to set label
tune2fs -L rootfs /dev/sda1
3. Reboot to verify that it boots successfully.
4. Shutdown, unplug the power, plug in the SATA disk.
5. Power up again. After it booted into Debian, verify the disks are mounted correctly:
mount
The USB stick should show:
/dev/disk/by-label/rootfs on / type ext2 (rw,noatime,errors=remount-ro)
And the HDD should show /dev/sda1 and other info.