ok, so finally got this bugger purring like a kitten but now im at the final steps of moving the rootfs from usb to HDD.
Ive tried the method with changing the LABEL and that works fine for the filesystem, but not so good for the bootloader.
I cannot boot without USB attached.
i was fighting with the variables: devices / device / rootpath, but it does not make sense.
I think it cant find /dev/md0p2 but using /dev/sda1 wasnt working anyway..
i was just trying to connect the hdd with the LABEL var as the rootFS. But it seems it always MUST load Uimage and Uinitrd from usb.
Any suggestions? i might be just overlooking one small thing after 4 days of trying.
Also i want to setup netconsole next to booting process just so i can monitor, but im still kindof learning the uboot environment variables.
BTW the uEnv.txt is a copy of the fw_printenv > .... so its identical.
Ive tried the method with changing the LABEL and that works fine for the filesystem, but not so good for the bootloader.
I cannot boot without USB attached.
i was fighting with the variables: devices / device / rootpath, but it does not make sense.
I think it cant find /dev/md0p2 but using /dev/sda1 wasnt working anyway..
i was just trying to connect the hdd with the LABEL var as the rootFS. But it seems it always MUST load Uimage and Uinitrd from usb.
Any suggestions? i might be just overlooking one small thing after 4 days of trying.
Also i want to setup netconsole next to booting process just so i can monitor, but im still kindof learning the uboot environment variables.
root@debian:/# uname -a Linux debian 5.10.7-kirkwood-tld-1 #1.0 PREEMPT Thu Jan 14 20:28:12 PST 2021 armv5tel GNU/Linux
root@debian:/# lsblk -o NAME,LABEL,SIZE,OWNER,GROUP,MODE NAME LABEL SIZE OWNER GROUP MODE sda 931.5G root disk brw-rw---- `-md0 931.5G root disk brw-rw---- |-md0p1 uboot 1M root disk brw-rw---- |-md0p2 rootfs 12G root disk brw-rw---- `-md0p3 netshare 919.5G root disk brw-rw---- sdb 963M root disk brw-rw---- `-sdb1 bck_rootfs 962M root disk brw-rw---- mtdblock0 1M root disk brw-rw---- mtdblock1 4M root disk brw-rw---- mtdblock2 251M root disk brw-rw----
BTW the uEnv.txt is a copy of the fw_printenv > .... so its identical.