pmbootstrap issues
#1
Greeting,

I wanted to install PmOS with sxmo as described here
https://git.sr.ht/~mil/sxmo-docs/tree/ma...LLGUIDE.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/Inspe..._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
#2
(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.
#3
(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).
#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 ***


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone 64 PostMarketOS edition Battery Issues, Not Hardware Issue X0X0X0X0X0 0 159 11-15-2022, 12:06 PM
Last Post: X0X0X0X0X0
  pmbootstrap error lat 2 2,510 12-22-2020, 06:32 PM
Last Post: lat
  pmbootstrap build large keyboard not usable u20200719 5 5,007 07-25-2020, 02:31 PM
Last Post: u20200719
  pmbootstrap to sdcard Jeb5Blovrueb 34 35,932 07-07-2020, 04:17 AM
Last Post: fernando_c_m
  Is it possible to pre-configure wifi and ssh with pmbootstrap? kelbot 2 3,450 07-06-2020, 01:55 AM
Last Post: ChriChri
  Dumb question: do I have to use pmbootstrap? quixote 5 5,227 06-11-2020, 09:23 AM
Last Post: plainenough
  Charging issues and battery life realrichardsharpe@gmail.com 6 5,012 03-11-2020, 09:03 AM
Last Post: MartijnBraam
  pmbootstrap on Mac OSX srfne 2 3,873 02-29-2020, 04:15 PM
Last Post: srfne
  Does pmbootstrap install the latest image? mypine 4 4,611 02-20-2020, 01:02 PM
Last Post: mypine
  pmbootstrap - choose different ui after first run mypine 2 2,944 02-13-2020, 04:35 PM
Last Post: mypine

Forum Jump:


Users browsing this thread: 1 Guest(s)