In preparation for the release of the 4.0 firmware, I configured the Omnia to run from the ssd card I plugged in years ago. I partitioned it into 2 to allow two OS versions with the current setup running off /dev/sda1.
I’m assuming I can do the following:
- Copy the running system ( likely via a schnapps created medkit for consistency ) to /dev/sda2 after prepping that with a btrfs FS. At this point, I could use the 4.0 medkit to install the latest test version too.
- update the bootloader scsiboot script to use ‘btrload scsi 0:2’ for both the kernel image and the device tree loads
- update bootargs with root=/dev/sda2
At this point, the router should boot from the second partition of the ssd. This gives me a solid, easily recoverable working image by setting the bootloader arguments back to default and a playground for testing 4.0.
Am I missing something? I’m assuming if I ever ran the 4 led recovery, it would write all over my bootenv and set me back to an mmc boot.