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


RE: pmbootstrap to sdcard - PureTryOut - 06-18-2020

(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.


RE: pmbootstrap to sdcard - KeithMcN - 06-21-2020

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


RE: pmbootstrap to sdcard - KeithMcN - 06-22-2020

(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


RE: pmbootstrap to sdcard - vetrik55 - 07-06-2020

(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.


RE: pmbootstrap to sdcard - fernando_c_m - 07-07-2020

(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)