UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
#65
(09-19-2020, 08:02 AM)megous Wrote:
(09-19-2020, 05:38 AM)bujiraso Wrote: I re-dd'd and now stretched the partition using steps from https://xnux.eu/log/#toc-resizing-the-pa...-the-image.
A couple notes there (cc @megous)

1. I goofed on the block device (misread it) and fell back to my comfort zone of cfdisks which worked fine, too. I used '[resize]' on the second partition, then '[write]'.
2. the "$ df -h"  final step likely belongs *before* the umount so that you can see the size looks right Smile

That all went well and the Pine boots it so I thought to try the SailFish OS, again.
I can confirm that (after you set locale agree to EULA, etc.) when it says "Start" you can press as guided by the XDA dev (firmly, hold for a quarter second, towards the far corners, top left->right then bottom right->left) and it will skip the tutorial.

That being said, I still ended up in the same loopy place I did last time. It also says "Network Connection failed" despite being authenticated to my wifi. I did say "No Jolla Account" does that deny me from using the system? ?
Video footage of the foolishness and that'll be it for me and SFOS for a while: https://youtu.be/d_iKqvzPfK8
The funniest part was the part I didn't catch where holding the power button gave me a friendly "Goodbye!" before powering off from Jolla Wink
Way to reset the distro is to use btrfs-utils:

btrfs subvolume delete /mnt/distro
btrfs subvolume snapshot /mnt/distro.orig /mnt/distro

You'd have to have the root volume mounted though, so it may only be possible with SD card reader in PC, or as I did it, with Arch Linux ARM running from eMMC, while the multi-distro being on a SD card.

If it's possible to mount multiple btrfs volumes at once, it should be possible to just do it from one of the distros on the multi-boot image itself (just not the one you're trying to reset), if you install btrfs utils.

Also don't hold the power button for anywhere close to 6s or more. That just forces the PMIC to cut power, without a proper shutdown of the OS. May or may not cause some corruption. (Probably depends on SD card and current write activity level)

Excellent tips. I'll try that out as I appear to have updated Mobian "wrong". dpkg is repeatedly failing on an init script.

Also, I notice your kernel fixes https://gitlab.com/postmarketOS/pmaports/-/issues/735 on the pmOS boots. Sweet!

Finally, I have a couple feature ideas for pBoot.
-> Boot to eMMC (edit: from the running sd card image, if possible)
-> Wrap around indexing (so I don't have to hit vol down as many times)
-> Battery indicator

If you're looking for another developer to help tinker on stuff like that, @megous, PM me!
  Reply


Messages In This Thread
RE: UPDATED: 13-distro multi-boot image for Pinephone (incl. 3GiB variant) - by bujiraso - 09-20-2020, 06:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone Pro Neural Processing Unit biketool 0 131 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 369 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,679 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 206 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 504 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 737 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 20,466 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 6,435 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 8,613 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 522 12-04-2024, 10:53 PM
Last Post: tracyanne

Forum Jump:


Users browsing this thread: 2 Guest(s)