PINE64
Change tow-boot boot order or otherwise make Mobian on uSD the default? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Change tow-boot boot order or otherwise make Mobian on uSD the default? (/showthread.php?tid=16595)



Change tow-boot boot order or otherwise make Mobian on uSD the default? - allworlds - 05-03-2022

I've dusted off my old Pinephone and I'm giving it another go. New(ish) to Pinephone, new to Manjaro, not new to Debian or Linux generally.

I've installed tow-boot as directed by Mobian's Wiki, flashed Manjaro-Plamsa to the eMMC, and have Mobian-Phosh on the micro SD card. With this setup it boots to the eMMC install by default, but at the moment I'm mainly using Mobian and want to boot to that by default. Rather than having to remember to hold volume down after every reboot.


RE: Change tow-boot boot order or otherwise make Mobian on uSD the default? - dukla2000 - 05-04-2022

Use Megi's p-boot on the SDcard instead?

Or edit the Tow-boot code and create your own version? Something I am tempted to do to reduce the menu wait time from 10 seconds to 1.


RE: Change tow-boot boot order or otherwise make Mobian on uSD the default? - wibble - 05-04-2022

I think you're running into the 'opinionated' part of their project description - in making it simple for the most common use case they've removed some of the capabilities needed for less common use cases. According to the variants page only the SPI version (used by the PinePhone Pro but not the PinePhone) is capable of saving the environment changes that I think would be needed to change the boot order.
https://github.com/Tow-Boot/Tow-Boot/blob/released/doc/variants.md

I may have missed something that could go in /boot/extlinux/extlinux.conf (generated by u-boot-update so don't edit directly) to make it use the other boot device, but if you're going to use this way in the long term then changing the boot order in the source and compiling your own tow-boot version is probably worth the initial effort. If not then stick with u-boot or p-boot which are more configurable.


RE: Change tow-boot boot order or otherwise make Mobian on uSD the default? - allworlds - 05-04-2022

Thanks both.

For what it's worth my trying Mobian-Phosh didn't last long anyway, but I'll keep p-boot in mind for any other distros that try and do the same thing.