09-24-2020, 02:24 AM
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
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 ***