linmob,
@linmob@fosstodon.org avatar

Thanks to esim.me I have a use case for a dual boot setup - I also want to keep using postmarketOS on the device.
Currently, Shift OS L is installed.
Is there a step-by-step guide somewhere?
Can I use any available Android (Calyx, Lineage, Shift) or only some?
Any further tips from people using such a setup?
Thanks in advance!

jan_wagemakers,

@linmob

Not really step-by-step, but I followed
https://wiki.postmarketos.org/wiki/SHIFT_SHIFT6mq_(shift-axolotl)#Manual_installation_on_super_partition#Manual_installation_on_super_partition)

Note that by doing it this way, the available space for postmarketOS is very limited and it seems that mounting an sd card (for extra space) on the Shift6mq with postmarketOS doesn't work.

linmob,
@linmob@fosstodon.org avatar

@jan_wagemakers Thank you! "very limited" = how many GiB, roughly?
Which flavor of Android do you use?

jan_wagemakers,

@linmob

/dev/mapper/system_a2 = 1.7G

Android=ShiftOS-G, but with the bootloader that came with ShiftOS-L (3.9.20221006) because with it you can "Switch active slots within the bootloader GUI".

bart,
@bart@mastodon.fam-ribbers.com avatar

@jan_wagemakers @linmob Note that you can resize partitions to make more space. I resized the userdata partition to make space and now pmOS has 20GB available I run that together with CalyxOS and it works like a charm.

linmob,
@linmob@fosstodon.org avatar

@bart Thank you! Sounds like you did something like what's outlined here, right?
https://forum.shiftphones.com/threads/postmarketos-als-dualboot.4832/#post-45355
@jan_wagemakers

bart,
@bart@mastodon.fam-ribbers.com avatar

@linmob @jan_wagemakers Well, close enough. I resized the userdata partition rather than deleting a few super partitions, but yeah the idea is the same.

I did that in English though 😜 I wish focused more on international audiences...

linmob,
@linmob@fosstodon.org avatar

@bart Yeah, I get that. Despite being German, my tech brain is so used to english that I sometimes struggle with German explanations.

In which order did you do this? (partitioning, calyx, pmaOS?) And did you install Calyx with their installer or manually?

(I really have not done Androidy things in a while - I doubt I have touched Android partitioning since the Droid 4 - sorry for all these questions!)

bart,
@bart@mastodon.fam-ribbers.com avatar

@linmob Yup, that's the order. I used CalyxOS's installer, make sure you have the other boot slot selected than the one you want to install to, otherwise it'll overwrite any existing pmOS installation you might have.

Also make sure to block network access to the CalyxOS updater and manually apply updates, because again it'll overwrite your dualboot OS if you don't.

linmob,
@linmob@fosstodon.org avatar

@bart Thank you for all the help! I failed at resizing userdata (to be precise at resizing system_b after resizing userdata, I don't think I miscalculated, but who knows), so I took the route described in the post.
(I then went with Sxmo because it's smol, otherwise I would of course have chosen Plasma Mobile on my one notch-free sdm845 device).

bart,
@bart@mastodon.fam-ribbers.com avatar

@linmob Well I didn't resize system_b, because it's a super partition it can't touch the space freed from userdata (which isn't a super partition). Instead I made a new partition next to userdata and just use that, I leave system_b untouched.

linmob,
@linmob@fosstodon.org avatar

@bart Ah... that's clever!

jan_wagemakers,

@linmob Thanks for the information! I ran the first 4 fastboot lines on my existing installation. After rebooting, postmarketos auto-resized the fs and now I have extra space to install to write this toot :-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • tester
  • lostlight
  • All magazines