switchboot.sh
#5
Very useful, thanks!

I wrote mobian-pinephone-phosh-20201113.img to my sd card and the boot structure is different.

Instead of /media/mmcblk0p1/Image.gz, boot depends on /media/mmcblk0p1/extlinux/extlinux.conf

Renaming extlinux.conf disables sd card mobian boot.
Reverting to extlinux.conf switches back to mobian boot on the sd card.

Adjust the code accordingly and you can switch back and forth as before.

p-boot (https://xnux.eu/p-boot/) seems more elegant / flexible but looks rather more daunting in terms of configuration.
Pinephone v1.2 UBports CE. Adelaide, Australia using Amaysim SIM (Optus network, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
Manjaro Plasma Mobile on EMMC.
  Reply


Messages In This Thread
switchboot.sh - by Zweitaktmotor - 07-11-2020, 05:37 AM
RE: switchboot.sh - by hiimtye - 07-12-2020, 01:15 PM
RE: switchboot.sh - by Zweitaktmotor - 07-12-2020, 03:33 PM
RE: switchboot.sh - by hiimtye - 07-12-2020, 03:36 PM
RE: switchboot.sh - by dcinoz - 11-26-2020, 05:39 AM
RE: switchboot.sh - by moodroid - 12-22-2020, 08:12 AM
RE: switchboot.sh - by dcinoz - 12-22-2020, 04:20 PM
RE: switchboot.sh - by dcinoz - 06-16-2021, 05:29 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)