PINE64
UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) (/showthread.php?tid=11347)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - calinb - 06-18-2021

(06-18-2021, 12:43 PM)Anna Wrote: Thank you, @Maus , that worked!
(And I've learnt that there's a difference between using sudo and running commands as root...)

I usually just
Code:
sudo su

(run commands now as "global" root without sudo)

exit



RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - 0x070 - 06-26-2021

None of the images will boot for me. I see all the available distro options, but selecting any of them only brings up the associated logo (ex: Fedora logo, PinePhone p-boot screen) but nothing actually boots. The only exception is selecting 'boot from eMMc', which boots correctly. I resized the sd card partition and my battery is charged. Has anyone else had this problem?

** Edit ** This appears to be an issue booting from an sd card in general. I've always falshed images to sd cards in the same way, the only recent difference is that I have encrypted Mobian on my eMMc.


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - calinb - 06-27-2021

(06-26-2021, 11:40 AM)0x070 Wrote: None of the images will boot for me. I see all the available distro options, but selecting any of them only brings up the associated logo (ex: Fedora logo, PinePhone p-boot screen) but nothing actually boots. The only exception is selecting 'boot from eMMc', which boots correctly. I resized the sd card partition and my battery is charged. Has anyone else had this problem?

Yes. I have had the same problem, but only rarely. In desperation, at least once or twice I deviated from Megous' installation howto when I've had problems and I had success using Gparted to resize and error check the partition, but I may have had to install btrfs support on my MX-Linux system, which I use for flashing my Pine SD cards, to get Gparted to work. I don't recall exactly.

I know from years of experience booting the versatile and highly customizable MX-Linux and antiX "live" environments on Intel architecture and also Armbian on my PineBook Pro that SD cards can be problematic. (Armbian devotes a relatively large section of its FAQ to warning of the simple problem of unreliable SD cards.) I am currently using only SanDisk UHS-1 A1 cards and they have been 100% reliable. I've had good luck with Samsung cards in the past too. Personally, I've had so much trouble with other brands through the years that I'll only use these two SD card brands.


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - megous - 07-07-2021

(06-26-2021, 11:40 AM)0x070 Wrote: None of the images will boot for me. I see all the available distro options, but selecting any of them only brings up the associated logo (ex: Fedora logo, PinePhone p-boot screen) but nothing actually boots. The only exception is selecting 'boot from eMMc', which boots correctly. I resized the sd card partition and my battery is charged. Has anyone else had this problem?

** Edit ** This appears to be an issue booting from an sd card in general. I've always falshed images to sd cards in the same way, the only recent difference is that I have encrypted Mobian on my eMMc.
Boot relies on partition table having a certain ID. Some partition management tools change this during resize and thus break boot on multi-boot distro. Did you use the recommeded resize method?

The kernel update is available for the multi-boot image:

http://dl.xnux.eu/p-boot-multi-2021-06-02.kernel-update/

See: http://dl.xnux.eu/p-boot-multi-2021-06-02.kernel-update/README

What's new in that kernel is documented here: https://megous.com/git/linux/tag/?h=orange-pi-5.13-20210707-1456


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - calinb - 07-07-2021

(06-26-2021, 11:40 AM)0x070 Wrote: None of the images will boot for me.

Check out this section of the Armbian guide:

https://docs.armbian.com/User-Guide_Getting-Started/#how-to-prepare-a-sd-card

Maybe you could try using the SD Formatter utility linked in the above guide before you follow megous' procedure:
Quote:In case you chose an SD card that was already in use before please consider resetting it back to ‘factory default’ performance with SD Formatter before burning Armbian to it (explanation in the forum). Detailed information regarding ‘factory default’ SD card performance.

I've never used it but the Armbian folks know SD cards! Sadly, it appears to be a Windoze/Mac only program.


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - vinnie - 08-05-2021

Hi megi, im trying your multidistro (the previous version) and it is really usefull.
However i have a small problem, I want to connect pmos (posh) with usb ssh but also if I try to follow the wiki ( https://wiki.postmarketos.org/wiki/SSH#Find_the_IP_of_your_phone ), I can't use the address 172.16.42.1 .
There is another address for ssh in your multidistro?

And then i have another related question, i've seen that the variable $DISPLAY is not set (i've tried to connect in ssh with wifi and it works but i can't open programs with the command DISPLAY=:0 firefox). How could I use it ? (if for example I wanted to use ssh -X)


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - wibble - 08-08-2021

(08-05-2021, 09:56 PM)vinnie Wrote: And then i have another related question, i've seen that the variable $DISPLAY is not set (i've tried to connect in ssh with wifi and it works but i can't open programs with the command DISPLAY=:0 firefox). How could I use it ? (if for example I wanted to use ssh -X)
Many of the apps will start in native wayland mode and display on the phone unless you tell them to use X. For firefox that would be via GDK_BACKEND=x11 but I think it only works if there isn't already an instance running using wayland.


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - vinnie - 08-08-2021

(08-08-2021, 04:15 PM)wibble Wrote: Many of the apps will start in native wayland mode and display on the phone unless you tell them to use X. For firefox that would be via GDK_BACKEND=x11 but I think it only works if there isn't already an instance running using wayland.

Code:
pine64-pinephone:~$ GDK_BACKEND=x11 firefox

(firefox:2818): Gtk-WARNING **: 02:30:21.674: cannot open display:
pine64-pinephone:~$ fractal
Error: BoolError { message: "Failed to initialize GTK", filename: "/home/buildozer/aports/community/fractal/src/fractal-4.4.0/output/target/cargo-home/registry/src/github.com-1ecc6299db9ec823/gtk-0.8.1/src/rt.rs", function: "gtk::rt", line: 116 }
pine64-pinephone:~$ megapixels
Found config file at /usr/share/megapixels/config/pine64,pinephone-1.2.ini
Found postprocessor script at /usr/share/megapixels/postprocess.sh

(megapixels:2849): Gtk-WARNING **: 02:30:50.622: cannot open display:



RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - wibble - 08-09-2021

Did you connect with ssh -X or just ssh? On mobian the former sets $DISPLAY to localhost:10.0 and firefox starts, while with the latter $DISPLAY isn't set, and firefox fails with the same error you show. You need the GDK_BACKEND=x11 with megapixels too, and there's a few seconds of lag updating the camera image.


RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - rushic24 - 09-05-2021

I got my 3GB Pine KDE Community edition recently and I'm unable to boot the sdcard with the MultiBoot image. I verified the checksum, and even the sdcard is in the top slot above simcard slot. Can anyone please help me Sad.



My bad I think it was mmcblk0 but I did mmcblkop1 which comes under it like this https://imgur.com/a/w1pSULW
[Image: w1pSULW]