the keyboard on my x86_64 tablet pc broke, so I decided to replace the arch install with postmarketOS because it has good touchscreen and FDE support (and I miss apk so badly)
normally you'd just liveusb boot and install to a new partition
but there's 2 issues with this
there is a single USB-C port on this craplet. keyboard XOR thumbdrive, if I go the liveusb route then I can't type stuff because no external keyboard
I can't make a new partition. I'm fine with nuking the arch rootfs, but I forgot to split out my /home and I don't have anywhere to back it up to, so I can't wipe the arch partition
so I had the extremely cursed idea to (ab)use btrfs subvolumes
the plan goes something like this:
download pmOS image
extract rootfs to new pmOS subvolume
install kernel and initrd into EFI partition
reboot
realize you booted pmOS into the arch rootfs
remember to set pmOS as default toplevel subvolume
reboot
[to be continued]
occasional hiccup, but I'm still quite happy! touchscreen FDE decryption is working after a quick apk add unl0kr, just gotta get it booting into the right rootfs and I should have a fresh pmOS install on my hands :D
blog post coming soonTM (maybe) (if I feel like it)
#linux #postmarketOS #fde