UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
#81
(11-09-2020, 03:42 PM)utopiah Wrote: Thanks for the great work. It's one of the most convenient way to showcase how much freedom we get from having a device we truly own.

I discovered just earlier today via Pinephone first steps https://scattered-thoughts.net/writing/p...rst-steps/ that there is also Mobile NixOS dedicated for the pinephone https://mobile.nixos.org/devices/pine64-pinephone.html with builds couple of weeks old https://hydra.nixos.org/job/mobile-nixos...6_64-linux

It could be interesting to make it available too.
I can only conveniently add systems that have either rootfs tarball or SD card image available. Adding pmOS variants is already a pita, and I looked at NixOS, and it seems even more complicated than that. If someone can provide/point me to a tarball/image of NixOS, I'll hapilly add it. I don't see a way on that page to download the build output.

(11-06-2020, 02:06 PM)Avisando Wrote: Hi megous. Thank you very much for making this valuable project available to us. I look forward to the next version of your work.

Would it be possible to include an option that allows to reinitialize the "multi-boot image" eliminating all the changes introduced by the user ?.

PS: I hope you consider including Glodroid in your OS list. Wink
Yep, one of the things I'd like to add is a "management" OS with a GUI/TUI for these kinds of tasks. (reverting to original snapshots, resizing to SD card's size, etc.)

I excluded glodroid, because I expect it will not run with a non-android partitioning scheme.
my website: https://xnux.eu
  Reply
#82
(11-13-2020, 10:44 AM)megous Wrote:
(11-09-2020, 03:42 PM)utopiah Wrote: I discovered just earlier today via Pinephone first steps https://scattered-thoughts.net/writing/p...rst-steps/ that there is also Mobile NixOS dedicated for the pinephone https://mobile.nixos.org/devices/pine64-pinephone.html with builds couple of weeks old https://hydra.nixos.org/job/mobile-nixos...6_64-linux

It could be interesting to make it available too.
I can only conveniently add systems that have either rootfs tarball or SD card image available. Adding pmOS variants is already a pita, and I looked at NixOS, and it seems even more complicated than that. If someone can provide/point me to a tarball/image of NixOS, I'll hapilly add it. I don't see a way on that page to download the build output.
Making NixOS share a kernel with its sibling distros would be possible, but also pretty inconvenient, and it'd be fighting most of NixOS's boot.kernel* options (they'd have to be locked down to whatever your non–Nixpkgs-built kernel binary was built with, and it'd generally be a huge pain & potentially result in users having to rebuild kernel-adjacent packages from source). As someone typing this message from a desktop NixOS install, I wouldn't recommend trying to mix NixOS into your multi-boot pack.
  Reply
#83
I get it. However, it will always be possible to install Anbox. Thanks for your answer.
  Reply
#84
Hey guys,
I'm trying to get multi-boot running too so I can easily play around with different distros.

I got the image flashed to SD card and looks like I got the file system extended.

However I got this message:
Code:
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
I ran `partprobe` after and now the disk shows at full size.

And now I'm stuck trying to mount the partition to extend it as well

Code:
$ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk2      179:0    0  58.2G  0 disk
├─mmcblk2p1  179:1    0 213.6M  0 part /boot
└─mmcblk2p2  179:2    0    58G  0 part /
mmcblk2boot0 179:32  0    4M  1 disk
mmcblk2boot1 179:64  0    4M  1 disk
mmcblk1      179:96  0  29.7G  0 disk
├─mmcblk1p1  179:97  0  124M  0 part
└─mmcblk1p2  179:98  0  29.6G  0 part
zram0        252:0    0  5.6G  0 disk [SWAP]

But according to instructions I need to mount the partition, not the while disk
Code:
$ sudo mount /dev/mmcblk1p2 /mnt
NTFS signature is missing.
Failed to mount '/dev/mmcblk1p2': Invalid argument
The device '/dev/mmcblk1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?




Not sure if this is a good sign either:
Code:
$ sudo btrfs check /dev/mmcblk1p2
Opening filesystem to check...
Csum didn't match
ERROR: could not setup extent tree
ERROR: cannot open file system

Thanks for putting this together!
  Reply
#85
There's gonna be a new multi-boot release soon: https://megous.com/dl/tmp/p-boot.png
my website: https://xnux.eu
  Reply
#86
@megous that's awesome, looking forward to it.

I assume the process stays the same - any ideas what went wrong with my partition resizing (or should I not bother next time and see if it boots first)

Also is it expected that I had to run `partprobe`? Maybe worth adding to the instructions if so Smile
  Reply
#87
(11-22-2020, 10:27 PM)megous Wrote: There's gonna be a new multi-boot release soon: https://megous.com/dl/tmp/p-boot.png
Thanks in advance. Shy
  Reply
#88
(11-23-2020, 12:11 AM)axel Wrote: @megous that's awesome, looking forward to it.

I assume the process stays the same - any ideas what went wrong with my partition resizing (or should I not bother next time and see if it boots first)

Also is it expected that I had to run `partprobe`? Maybe worth adding to the instructions if so Smile

I did follow the instructions as per https://xnux.eu/log/#toc-resizing-the-pa...-the-image and had no problems and didn't have to do anything else in addition.
  Reply
#89
New version is now available. https://xnux.eu/p-boot-demo/

News:
- more distros (Manjaro, Arch dreemurrs, Jumpdrive, pmOS / plasma desktop)
- removed PureOS
- all distros updated to the latest versions
- p-boot has more features, auto-repeat for volume keys, scrolling menu, reboot to eMMC OS, air-gapped boot mode, battery indicator
- newer kernel (5.10-rc5) with 60fps fix

Build tool was also updated, and can generate the zstd compressed and deduplicated btrfs filesystem from the source rootfs tarballs in about 2 minutes by running decompression/deduplication in 16 parallel threads. Or in 8 minutes when maxing out zstd compression level in btrfs.
my website: https://xnux.eu
  Reply
#90
cool stuff! will test and report, donation on its way Wink

pozdravujem zo Slovenska Wink
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,723 11-05-2024, 11:10 AM
Last Post: zetabeta
  How boot Alpine Linux realroot 4 681 11-02-2024, 01:00 PM
Last Post: linmob
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 185 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,692 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 375 10-05-2024, 02:20 PM
Last Post: KC9UDX
  Tow boot MTXP 5 1,619 08-22-2024, 03:11 AM
Last Post: Pavlos1
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,808 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,329 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,902 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 836 07-17-2024, 12:41 AM
Last Post: P. Siera

Forum Jump:


Users browsing this thread: 25 Guest(s)