pmbootstrap issues
#4
Hello all,

I just received my Pinephone (3GB) and tried to flash PMOs on a sd card. Unfortunately I failed several times. Probably one of the experts here can find the reason in the log since I'm somewhat clueless. I tried several sd cards with the same effect (see below).. Thanks in advance 

Code:
==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
(080600) [10:09:47]  *** SET LOGIN PASSWORD FOR: 'XXX' ***
(080600) [10:09:47] (rootfs_pine64-pinephone) % passwd XXX
New password:
Retype new password:
passwd: password updated successfully
(080600) [10:10:06] (rootfs_pine64-pinephone) % passwd -l root
passwd: password expiry information changed.
(080600) [10:10:06] NOTE: No valid keymap specified for device
(080600) [10:10:06] (rootfs_pine64-pinephone) % setup-timezone -z Europe/Berlin
(080600) [10:10:09] (rootfs_pine64-pinephone) % sh -c echo pine64-pinephone > /etc/hostname
(080600) [10:10:09] (rootfs_pine64-pinephone) % sed -i -e s/^127\.0\.0\.1.*/127.0.0.1\tpine64\-pinephone localhost.localdomain localhost/ /etc/hosts
(080600) [10:10:09] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/var/cache/distfiles
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/var/cache/apk
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/usr/bin/qemu-aarch64-static
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/proc
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/mnt/pmbootstrap-rust
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/mnt/pmbootstrap-packages
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/mnt/pmbootstrap-git
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/mnt/pmbootstrap-ccache
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/mnt/pmbootstrap-abuild-config
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/etc/apk/keys
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/dev/shm
(080600) [10:10:09] % sudo umount /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone/dev
(080600) [10:10:09] % sudo du --summarize --block-size=1 /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone
1040793600    /home/xxx/.local/var/pmbootstrap/chroot_rootfs_pine64-pinephone
(080600) [10:10:09] (native) mount /dev/install (host: /dev/sdb)
(080600) [10:10:09] % sudo touch /home/xxx/.local/var/pmbootstrap/chroot_native/dev/install
(080600) [10:10:09] % sudo mount --bind /dev/sdb /home/xxx/.local/var/pmbootstrap/chroot_native/dev/install
(080600) [10:10:09] % sudo touch /home/xxx/.local/var/pmbootstrap/chroot_native/dev/sdcardp1
(080600) [10:10:09] % sudo mount --bind /dev/sdb1 /home/xxx/.local/var/pmbootstrap/chroot_native/dev/sdcardp1
(080600) [10:10:09] (native) % blkid -s LABEL -o value /dev/sdcardp1
(080600) [10:10:09] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(080600) [10:10:09] NOTE: The failed command's output is above the ^^^ line in the log file: /home/xxx/.local/var/pmbootstrap/log.txt
(080600) [10:10:09] ERROR: Command failed: (native) % blkid -s LABEL -o value /dev/sdcardp1
(080600) [10:10:09] See also: <https://postmarketos.org/troubleshooting>
(080600) [10:10:09] Traceback (most recent call last):
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/__init__.py", line 49, in main
    getattr(frontend, args.action)(args)
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/helpers/frontend.py", line 268, in install
    pmb.install.install(args)
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/install/_install.py", line 691, in install
    install_system_image(args, 0, f"rootfs_{args.device}",
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/install/_install.py", line 445, in install_system_image
    pmb.install.blockdevice.create(args, size_boot, size_root,
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/install/blockdevice.py", line 134, in create
    mount_sdcard(args, sdcard)
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/install/blockdevice.py", line 49, in mount_sdcard
    if previous_install(args, path):
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/install/blockdevice.py", line 26, in previous_install
    label = pmb.chroot.root(args, ["blkid", "-s", "LABEL", "-o", "value",
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/chroot/root.py", line 74, in root
    return pmb.helpers.run_core.core(args, msg, cmd_sudo, None, output,
  File "/home/xxx/.local/lib/python3.8/site-packages/pmb/helpers/run_core.py", line 285, in core
    raise RuntimeError("Command failed: " + log_message)
RuntimeError: Command failed: (native) % blkid -s LABEL -o value /dev/sdcardp1

(099163) [10:10:28] % tail -f /home/xxx/.local/var/pmbootstrap/log.txt -n 60
(099163) [10:10:28] *** output passed to pmbootstrap stdout, not to this log ***


Messages In This Thread
pmbootstrap issues - by IVp - 07-31-2020, 02:37 AM
RE: pmbootstrap issues - by janw - 08-01-2020, 03:33 AM
RE: pmbootstrap issues - by IVp - 08-01-2020, 03:46 AM
Can't create SD Card - by Pinethom - 09-24-2020, 02:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues after installing latest PostMarket OS with POSH xen314 4 2,629 08-20-2023, 11:18 PM
Last Post: xen314
  Battery issues user641 3 2,155 07-17-2023, 10:43 AM
Last Post: alaraajavamma
  Pinephone 64 PostMarketOS edition Battery Issues, Not Hardware Issue X0X0X0X0X0 1 1,895 02-11-2023, 08:19 AM
Last Post: acid andy
  pmbootstrap error lat 2 4,179 12-22-2020, 06:32 PM
Last Post: lat
  pmbootstrap build large keyboard not usable u20200719 5 8,104 07-25-2020, 02:31 PM
Last Post: u20200719
  pmbootstrap to sdcard Jeb5Blovrueb 34 53,539 07-07-2020, 04:17 AM
Last Post: fernando_c_m
  Is it possible to pre-configure wifi and ssh with pmbootstrap? kelbot 2 5,403 07-06-2020, 01:55 AM
Last Post: ChriChri
  Dumb question: do I have to use pmbootstrap? quixote 5 7,909 06-11-2020, 09:23 AM
Last Post: plainenough
  Charging issues and battery life realrichardsharpe@gmail.com 6 8,020 03-11-2020, 09:03 AM
Last Post: MartijnBraam
  pmbootstrap on Mac OSX srfne 2 6,329 02-29-2020, 04:15 PM
Last Post: srfne

Forum Jump:


Users browsing this thread: 2 Guest(s)