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
  pinephone virtual keyboard aular 4 298 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 198 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  PinePhone - boot from microSD laserpyramid 5 469 03-06-2024, 06:37 PM
Last Post: aular
  Are you using the Pinephone as your daily driver? jro 157 107,927 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,713 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 571 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,253 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 471 12-26-2023, 02:42 PM
Last Post: shengchieh
  sudo nano file saving pinephone beta edition CharlesGnarley 4 1,630 12-22-2023, 03:44 PM
Last Post: Kevin Kofler
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 9 6,835 12-04-2023, 02:14 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 3 Guest(s)