pmbootstrap issues - IVp - 07-31-2020
Greeting,
I wanted to install PmOS with sxmo as described here
https://git.sr.ht/~mil/sxmo-docs/tree/master/INSTALLGUIDE.md
in order to eventually, make some modifications to the installation I want. Sadly, I failed in step 0 of this plan.
The phone does not show up under lsusb, even if I try the telnet debug solution from
https://wiki.postmarketos.org/wiki/Inspecting_the_initramfs
I assume I did something wrong in the pmbootstrap, but I would not know what. I have had not problems with the telnet by jumpdrive.
I did not give up here, and I tried to install sxmo-ui before flashing, by using pmbootstrap chroot -r and following the instruction there. This works within chroot, if you follow the instructions from the sxmo website, but pmbootstrap install fails afterwards with
Could not find dependency 'sxmo-dmenu' in any aports folder or APKINDEX.
despite the fact that cache folder now contains the sxmo*.apk files.
I would be grateful if anyone can provide some insight as to what might be causing these problems.
cheers
IV
RE: pmbootstrap issues - janw - 08-01-2020
(07-31-2020, 02:37 AM)IVp Wrote: Could not find dependency 'sxmo-dmenu' in any aports folder or APKINDEX.
despite the fact that cache folder now contains the sxmo*.apk files.
I would be grateful if anyone can provide some insight as to what might be causing these problems. What is the version of pmos that you have installed? 'edge' or 'stable'?
Because my experience is that 'edge' is needed for sxmo to work.
RE: pmbootstrap issues - IVp - 08-01-2020
(08-01-2020, 03:33 AM)janw Wrote: (07-31-2020, 02:37 AM)IVp Wrote: Could not find dependency 'sxmo-dmenu' in any aports folder or APKINDEX.
despite the fact that cache folder now contains the sxmo*.apk files.
I would be grateful if anyone can provide some insight as to what might be causing these problems. What is the version of pmos that you have installed? 'edge' or 'stable'?
Because my experience is that 'edge' is needed for sxmo to work. Yes, I used edge, otherwise I can not even do it within choots (some packages only exist in edge).
Can't create SD Card - Pinethom - 09-24-2020
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 ***
|