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?
#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.
#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!
#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/
#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.
#6
Did you choose phosh UI ?
I had same issue yesterday.
#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.
#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
#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.
#10
When it asks to set a password. just use numbers Wink I learned the same lesson..


Possibly Related Threads…
Thread Author Replies Views Last Post
  phone won't boot from emmc with sdcard inserted ssilvi 3 3,524 06-06-2021, 02:47 AM
Last Post: ssilvi
  Cannot boot from SDCard cube 2 3,239 01-31-2021, 11:47 AM
Last Post: cube
  pmbootstrap error lat 2 3,436 12-22-2020, 06:32 PM
Last Post: lat
  pmbootstrap issues IVp 3 5,155 09-24-2020, 02:24 AM
Last Post: Pinethom
  pmbootstrap build large keyboard not usable u20200719 5 6,863 07-25-2020, 02:31 PM
Last Post: u20200719
  Is it possible to pre-configure wifi and ssh with pmbootstrap? kelbot 2 4,590 07-06-2020, 01:55 AM
Last Post: ChriChri
  Dumb question: do I have to use pmbootstrap? quixote 5 6,816 06-11-2020, 09:23 AM
Last Post: plainenough
  pmbootstrap on Mac OSX srfne 2 5,300 02-29-2020, 04:15 PM
Last Post: srfne
  Does pmbootstrap install the latest image? mypine 4 6,026 02-20-2020, 01:02 PM
Last Post: mypine
  pmbootstrap - choose different ui after first run mypine 2 3,933 02-13-2020, 04:35 PM
Last Post: mypine

Forum Jump:


Users browsing this thread: 1 Guest(s)