PINE64
pmbootstrap to sdcard - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: pmbootstrap to sdcard (/showthread.php?tid=8285)

Pages: 1 2 3 4


pmbootstrap to sdcard - Jeb5Blovrueb - 11-11-2019

I've installed pmbootstrap on my PC (git clone https://gitlab.com/postmarketOS/pmbootstrap.git).

Am I right that after running the following commands,

Code:
pmbootstrap init
pmbootstrap install --sdcard /dev/mmcblk0
pmbootstrap shutdown

I now have an sdcard that I can put in a pinephone to start postmarketOS?


RE: pmbootstrap to sdcard - Danct12 - 11-15-2019

Yep! It's simple as that!


RE: pmbootstrap to sdcard - wgvanveen - 02-02-2020

I am trying to run this script from Ubuntu 19.10, but I am not using Wayland. Is it correct that it is then not possible to run pmbootstrap? I am at the moment a bit stuck on Ubuntu I am afraid, but thinking of trying out Sway anyway.

Thanks!


RE: pmbootstrap to sdcard - Veraendert - 02-02-2020

(02-02-2020, 05:18 AM)wgvanveen Wrote: I am trying to run this script from Ubuntu 19.10, but I am not using Wayland. Is it correct that it is then not possible to run pmbootstrap? I am at the moment a bit stuck on Ubuntu I am afraid, but thinking of trying out Sway anyway.

Thanks!

Dependencies for pmbootstrap don't include Wayland: https://aur.archlinux.org/packages/pmbootstrap/


RE: pmbootstrap to sdcard - wgvanveen - 02-02-2020

(02-02-2020, 06:30 AM)Veraendert Wrote:
(02-02-2020, 05:18 AM)wgvanveen Wrote: I am trying to run this script from Ubuntu 19.10, but I am not using Wayland. Is it correct that it is then not possible to run pmbootstrap? I am at the moment a bit stuck on Ubuntu I am afraid, but thinking of trying out Sway anyway.

Thanks!

Dependencies for pmbootstrap don't include Wayland: https://aur.archlinux.org/packages/pmbootstrap/

Thanks for the reply! I get this error when I run
Code:
pmbootstrap install --sdcard=/dev/sdb


Code:
ERROR: Could not find dependency 'so:libwlroots.so.3' in any aports folder or APKINDEX. See: <https://postmarketos.org/depends

I already installed libwlroots3 and libwlroots-dev to my system, but no luck. Cloned the aports git and set the path with the -p flag for the installer, but the error remains.


RE: pmbootstrap to sdcard - rico - 02-02-2020

Did you choose phosh UI ?
I had same issue yesterday.


RE: pmbootstrap to sdcard - wgvanveen - 02-02-2020

(02-02-2020, 11:27 AM)rico Wrote: Did you choose phosh UI ?
I had same issue yesterday.

Yes indeed Posh. I just wanted to write that I have no issue with KDE.

P.S. The pmbootstrap thing is massively impressive. Just browsing through the code is already cool.


RE: pmbootstrap to sdcard - rico - 02-02-2020

4 days ago no problem to build with phosh.
Just have to wait, or fix the missing package...
Installing on your computer will not change anything.

The script just not find it in Alpine repo.

And i agree, pmboostrap is beautiful Smile

//Edit

Pmbootstrap with phosh working again.
Enjoy


RE: pmbootstrap to sdcard - ksmithaz1 - 02-07-2020

From scratch on Ubu 18.04:

pip3 install pmbootstrap
PATH="$PATH:~/.local/bin"
mkdir ~/.local/var/pmbootstrap
pmbootstrap init
pmbootstrap install --sdcard /dev/sda
pmbootstrap shutdown

~20 min into install it prompts (after I'm in bed):

. . .
[21:13:57] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
[21:14:01]  *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[06:10:04] NOTE: No valid keymap specified for device
[06:10:08] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
. . .
[06:18:56] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[06:18:56] Done

So I selected kde + extras, set the password above to something simple ... pass1234

Boot it on the phone.  Sluggish, but it boots, play around breifly, plug in to charge.,  Now I have a lock screen, but it's only numbers, and I can't unlock the thing.

This is fun . . . Wink!  Not much on google search for a default.  Might have blown past it somewhere.  Probably should have started an installation thread.


RE: pmbootstrap to sdcard - pajux - 02-07-2020

When it asks to set a password. just use numbers Wink I learned the same lesson..