pmbootstrap to sdcard
#31
(06-17-2020, 11:10 PM)Saliency Wrote: I too will give up for now... I guess I will check back in later... maybe it’s possible to just make some flashable imgs?  Or improve the tool?
We already have flashable pre-built images... https://images.postmarketos.org/pinephone/

As for "improving the tool", there is nothing really wrong with it. The errors you're having seem to not be the fault of pmbootstrap. Running it on Ubuntu Touch especially is just a non-tested or supported setup.
#32
I've tried multiple times to install both the phosh and plasma versions but it always stops at this line

(rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner

After looking into this, I found a suggestion to use the -t option but now it just sits there forever (I'm talking about hours).

I get the same results with phosh and plasma-mobile. I'm using Kubuntu 19.10, with all recommended dependencies.

I also ran the pmbootstrap update command


Is there any way to get past this?


UPDATE: Now installed, see comment below
#33
(03-20-2020, 01:32 AM)PureTryOut Wrote: Make sure your pmaports is updated as well (pmbootstrap pull), then zap your chroots (pmbootstrap -y zap -hc -dpmo), then try again.


I did this and re-tried the install and it finally worked.


Thanks very much     Wink
#34
(11-15-2019, 06:55 PM)Danct12 Wrote: Yep! It's simple as that!

Can you help. I'm all ways get errors when i u mount sd card its says that directory not found when i live it mounted its saying can not format. am i missing some thing? tnx




hp@hp-HP-Laptop-17-bs0xx:~$ pmbootstrap install --sdcard /dev/sdb
[13:44:06] *** (1/5) PREPARE NATIVE CHROOT ***
[13:44:06] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
[13:44:08] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:44:08] (rootfs_pine64-pinephone) install
[13:44:12] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:44:12] (rootfs_pine64-pinephone) install
[13:44:15] (rootfs_pine64-pinephone) write /etc/os-release
[13:44:15] (rootfs_pine64-pinephone) install
[13:44:18] (rootfs_pine64-pinephone) install
[13:44:21] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
[13:44:55]  *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[13:45:23] NOTE: No valid keymap specified for device
[13:45:25] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
[13:45:25] (native) mount /dev/install (host: /dev/sdb)
[13:45:25] EVERYTHING ON /dev/sdb WILL BE ERASED! CONTINUE? (y/n) [n]: y
[13:45:30] (native) partition /dev/install (boot: 106M, root: the rest)
[13:45:32] ERROR: Unable to find the partition prefix, expected the first partition of /dev/sdb to be located at /dev/sdb1 or /dev/sdbp1!
[13:45:32] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.


hp@hp-HP-Laptop-17-bs0xx:~$ pmbootstrap install --sdcard /dev/sdb
[13:46:36] *** (1/5) PREPARE NATIVE CHROOT ***
[13:46:36] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
[13:46:38] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:46:38] (rootfs_pine64-pinephone) install
[13:46:41] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:46:41] (rootfs_pine64-pinephone) install
[13:46:45] (rootfs_pine64-pinephone) write /etc/os-release
[13:46:45] (rootfs_pine64-pinephone) install
[13:46:48] (rootfs_pine64-pinephone) install
[13:46:51] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
[13:47:23]  *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[13:47:31] NOTE: No valid keymap specified for device
[13:47:33] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
[13:47:34] ERROR: /dev/sdb1 is mounted! We will not attempt to format this!
[13:47:34] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
#35
(07-06-2020, 03:17 PM)vetrik55 Wrote:
(11-15-2019, 06:55 PM)Danct12 Wrote: Yep! It's simple as that!

Can you help. I'm all ways get errors when i u mount sd card its says that directory not found when i live it mounted its saying can not format. am i missing some thing? tnx




hp@hp-HP-Laptop-17-bs0xx:~$ pmbootstrap install --sdcard /dev/sdb
[13:44:06] *** (1/5) PREPARE NATIVE CHROOT ***
[13:44:06] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
[13:44:08] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:44:08] (rootfs_pine64-pinephone) install
[13:44:12] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:44:12] (rootfs_pine64-pinephone) install
[13:44:15] (rootfs_pine64-pinephone) write /etc/os-release
[13:44:15] (rootfs_pine64-pinephone) install
[13:44:18] (rootfs_pine64-pinephone) install
[13:44:21] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
[13:44:55]  *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[13:45:23] NOTE: No valid keymap specified for device
[13:45:25] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
[13:45:25] (native) mount /dev/install (host: /dev/sdb)
[13:45:25] EVERYTHING ON /dev/sdb WILL BE ERASED! CONTINUE? (y/n) [n]: y
[13:45:30] (native) partition /dev/install (boot: 106M, root: the rest)
[13:45:32] ERROR: Unable to find the partition prefix, expected the first partition of /dev/sdb to be located at /dev/sdb1 or /dev/sdbp1!
[13:45:32] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.


hp@hp-HP-Laptop-17-bs0xx:~$ pmbootstrap install --sdcard /dev/sdb
[13:46:36] *** (1/5) PREPARE NATIVE CHROOT ***
[13:46:36] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
[13:46:38] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:46:38] (rootfs_pine64-pinephone) install
[13:46:41] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
[13:46:41] (rootfs_pine64-pinephone) install
[13:46:45] (rootfs_pine64-pinephone) write /etc/os-release
[13:46:45] (rootfs_pine64-pinephone) install
[13:46:48] (rootfs_pine64-pinephone) install
[13:46:51] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
[13:47:23]  *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[13:47:31] NOTE: No valid keymap specified for device
[13:47:33] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
[13:47:34] ERROR: /dev/sdb1 is mounted! We will not attempt to format this!
[13:47:34] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
I also had something like that. In my case I had to format the card to ext4. Then it worked (the card should not be mounted)


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

Forum Jump:


Users browsing this thread: 2 Guest(s)