pmbootstrap to sdcard
#1
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?
  Reply
#2
Yep! It's simple as that!
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
#3
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!
  Reply
#4
(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/
  Reply
#5
(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.
  Reply
#6
Did you choose phosh UI ?
I had same issue yesterday.
  Reply
#7
(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.
  Reply
#8
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
  Reply
#9
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.
  Reply
#10
When it asks to set a password. just use numbers Wink I learned the same lesson..
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  pmbootstrap on Mac OSX srfne 2 192 02-29-2020, 04:15 PM
Last Post: srfne
  Does pmbootstrap install the latest image? mypine 4 477 02-20-2020, 01:02 PM
Last Post: mypine
  Dumb question: do I have to use pmbootstrap? quixote 4 408 02-20-2020, 06:05 AM
Last Post: PureTryOut
  pmbootstrap - choose different ui after first run mypine 2 246 02-13-2020, 04:35 PM
Last Post: mypine
  pmbootstrap to sdcard on debian 10 ctsm63 2 677 01-29-2020, 03:53 PM
Last Post: ctsm63

Forum Jump:


Users browsing this thread: 1 Guest(s)