PINE64

Full Version: pmbootstrap to sdcard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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?
Yep! It's simple as that!
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!
(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/
(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.
Did you choose phosh UI ?
I had same issue yesterday.
(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.
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
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.
When it asks to set a password. just use numbers Wink I learned the same lesson..
Pages: 1 2 3 4