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) |
RE: pmbootstrap to sdcard - curtvaughan - 02-14-2020 (02-11-2020, 06:44 AM)MartijnBraam Wrote:(02-10-2020, 02:23 PM)curtvaughan Wrote: Hello. Here's what I get from the install to the sdcard: Thanks again for catching the "pin64" spelling error. Once that was removed everything proceeded properly. RE: pmbootstrap to sdcard - canadien666 - 03-19-2020 Looking for some assistance on installing to sd card. Keep running into the same error. Updated my pmbootstrap version... (071090) [20:27:57] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pmb/__init__.py", line 63, in main getattr(frontend, args.action)(args) File "/usr/lib/python3.8/site-packages/pmb/helpers/frontend.py", line 195, in install pmb.install.install(args) File "/usr/lib/python3.8/site-packages/pmb/install/_install.py", line 536, in install install_system_image(args) File "/usr/lib/python3.8/site-packages/pmb/install/_install.py", line 408, in install_system_image embed_firmware(args) File "/usr/lib/python3.8/site-packages/pmb/install/_install.py", line 338, in embed_firmware raise RuntimeError("The following firmware binary does not " RuntimeError: The following firmware binary does not exist in the device rootfs: /usr/share/u-boot/pine64-lts/u-boot-sunxi-with-spl.bin (081601) [20:31:34] % tail -f /home/iec/.local/var/pmbootstrap/log.txt -n 60 (081601) [20:31:34] *** output passed to pmbootstrap stdout, not to this log *** Thanks for any help. RE: pmbootstrap to sdcard - PureTryOut - 03-20-2020 Make sure your pmaports is updated as well (pmbootstrap pull), then zap your chroots (pmbootstrap -y zap -hc -dpmo), then try again. RE: pmbootstrap to sdcard - canadien666 - 03-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. Thanks, that helped. Also, my pmbootstrap was way outdated (1.12.0). That didn't help things either... Got it up and running on my PP, running very smoothly, even got anbox mostly running! Also, does PMOS use apk update/upgrade? I ran apk update, it accessed all the repositories. Fetched ALOT updates for many different packages. But when I run apk upgrade, it fails to actually upgrade anything (0%). No error message, but nothing is really upgraded. I've never used PMOS/Alpine, so not sure how things work exactly. Update/upgrade worked with other OSs using PHOSH with the PP.... Anyway, thanks very much for your help and the work you put into PMOS. RE: pmbootstrap to sdcard - PureTryOut - 03-23-2020 Yes we use "apk update" and "apk upgrade". However, I recommend you pass the "-a" switch to upgrade, so "apk upgrade -a" to make sure _everything_ actually gets upgraded. RE: pmbootstrap to sdcard - valentin - 04-18-2020 Hello, I try to image the SD card using pmbootstrap (I did run 'pmbootstrap pull' before) First, '$ pmbootystrap init' then 'pmbootstrap install' Code: $ pmbootstrap install --sdcard=/dev/mmcblk0 after a couple of minutes I get the error: Code: ERROR: Command failed: % sudo /home/user/.local/var/pmbootstrap/apk.static --no-progress --root /home/user/.local/var/pmbootstrap/chroot_native --cache-dir /home/user/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base The log is attached. The laptop I'm using to image the SD card runs Arch Linux. The SD card is formatted as FAT32. Could anyone help? RE: pmbootstrap to sdcard - PureTryOut - 04-19-2020 (04-18-2020, 12:28 PM)valentin Wrote: The log is attached. The laptop I'm using to image the SD card runs Arch Linux. The SD card is formatted as FAT32. Could anyone help? Where? I don't see it. What you posted here isn't actually the error, just the command that failed. Please run "pmbootstrap log" in a separate terminal and find the actual error there, and post it. RE: pmbootstrap to sdcard - valentin - 05-11-2020 (04-19-2020, 09:05 AM)PureTryOut Wrote:(04-18-2020, 12:28 PM)valentin Wrote: The log is attached. The laptop I'm using to image the SD card runs Arch Linux. The SD card is formatted as FAT32. Could anyone help? Hi, Sorry for coming back so late - I have the notifications deactivated and, as I gave up using PostmarketOS, I wasn't interested any longer in any feedback on this issue, I haven't visited the thread. RE: pmbootstrap to sdcard - PureTryOut - 06-09-2020 Why did you give up? pmbootstrap is normally a breeze to use so I'm sure the installation problem is something we can resolve easily. RE: pmbootstrap to sdcard - Saliency - 06-17-2020 (06-09-2020, 01:27 PM)PureTryOut Wrote: Why did you give up? pmbootstrap is normally a breeze to use so I'm sure the installation problem is something we can resolve easily. I have spent the evening trying to use pmbootstrap but with no succes. I have run into sd card writing errors on my Ubuntu 20.04 virtualBox under OS X, and a syntax error trying to use pmbootstrap under UBports from SD (with intent to flash my emmc) on my PinePhone. 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? |