cmatt85 wrote:If I already have arch installed (the normal way) can I still boot straight to a (different) properly configured sata drive, or will I need to restore the u-boot environment to defaults?
WarheadsSE wrote:use blparam to edit the bootargs from NAND uboot root=/dev/sdb1 ?
WarheadsSE wrote:Here's the breakdown:
- You want to change to sdb1 for rootfs
- You want to leave SATA attached, thus the above is necessary.
Correct, sdb1 is current a USB flash drive, which has rootfs and working.
Here's how it can be done:
- use blparam to change the value of root in the bootargs variable.
--- This means `blparam bootargs="entire line here but with root's value changed"`
I think I will take this approach
- Use serial to interrupt & change the value appropriately using the setenv command.
- Boot from SATA and run the command from there.
Here's how it can break:
- there aren't 2 drives, thus /dev/sdb1 is not present, no boot.
I will always have both USB and SATA attached. i.e. /sdb1 is supposed to be USB since SATA always take /sda1
- the "second" drive is not an oxnas rootfs, no boot.
- a SATA drive is attached with the magic dust, it will try to boot from SATA, likely no boot.
What's the reason there is no boot? Is it because the bootargs change to /sdb1?
Users browsing this forum: No registered users and 6 guests