Change tow-boot boot order or otherwise make Mobian on uSD the default?
#1
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.
  Reply
#2
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.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#3
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/blo...ariants.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.
  Reply
#4
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't boot on SD anymore LeNouveau 1 239 02-12-2024, 01:05 PM
Last Post: LeNouveau
  Does Ubuntu modify a Pinephone SD boot card? Peter Gamma 0 757 10-05-2023, 09:18 AM
Last Post: Peter Gamma
Photo Mobian with X11 without Wayland and Phosh. Manieck71 0 833 09-09-2023, 07:35 AM
Last Post: Manieck71
  Tow-boot headaches. antiwesley 3 1,415 04-30-2023, 05:03 PM
Last Post: Kevin Kofler
  problem with boot evaldas 2 2,149 03-17-2023, 06:21 AM
Last Post: gulshan212
  Article: NuttX RTOS for PinePhone: Boot to LVGL lupyuen 2 1,780 01-23-2023, 10:41 PM
Last Post: lupyuen
  Enable 'upcoming-events' on Mobian/Phosh Korac 3 2,108 09-14-2022, 01:19 AM
Last Post: dukla2000
  tow-boot shulamy 2 1,576 09-08-2022, 12:33 AM
Last Post: shulamy
  Device memory full on multi-boot SD card Peter Gamma 4 2,609 08-27-2022, 10:03 AM
Last Post: Eugo
  wiping u-boot off sd card shulamy 6 2,801 08-17-2022, 03:38 AM
Last Post: shulamy

Forum Jump:


Users browsing this thread: 1 Guest(s)