Pinephone error system-generators/ostree-system-generator failed with exit status 127 - 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: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159) +---- Thread: Pinephone error system-generators/ostree-system-generator failed with exit status 127 (/showthread.php?tid=19274) |
Pinephone error system-generators/ostree-system-generator failed with exit status 127 - Daniello - 06-08-2024 Pinephone is not booting up after system update now during startup it shows error message: usr/lib/systemd/system-generators/ostree-system-generator failed with exit status 127. how to fix this error ? https://www.facebook.com/permalink.php?story_fbid=pfbid0xiF2gnFtQTiywD6sgKS1UneDANHfSqik9kugey93WxxGqsLDzGi7VNLcEgTWL9PBl&id=100010804539623&__cft__[0]=AZWA9de5YTbxkmA1BTMgSunFzmlm-QsoT6fcmizoT75EYkOEWsaB1uRI5gZdzS8myne9baTCdf99eUtqu0sHy1DQuOACt2bLHMe1RZTfxOeKtw&__tn__=%2CO%2CP-R RE: Pinephone error system-generators/ostree-system-generator failed with exit status 127 - Kevin Kofler - 06-09-2024 Well, first you need to get the thing to boot at all, i.e., boot from a microSD card with a known working operating system image. (dd the image to an empty microSD card or one whose contents you can and will wipe through the dd, shut down the PinePhone, remove the battery, insert the microSD card, reinsert the battery, boot the PinePhone.) Then in that image, open a terminal emulator (or alternatively, use the JumpDrive image, connect the PinePhone to your computer, and open a terminal emulator on that computer), and run: 1. sudo -i (to get root on the system you just booted or on the computer) 2. mkdir /mnt/pinephone-emmc (to create the mount point for the next command) 3. a suitable mount command to mount the eMMC contents to /mnt/pinephone-emmc (a command of the form mount /dev/… /mnt/pinephone-emmc, where you have to figure out the proper device name) 4. mkdir -p /mnt/pinephone-emmc/etc/systemd/system-generators (to create the directory for the next command on the mounted partition) 5. ln -sf /dev/null /mnt/pinephone-emmc/etc/systemd/system-generators/ostree-system-generator (to mask the offending generator on the mounted partition – the ostree-system-generator is entirely useless on Arch Linux, so it is safe to just mask it) 6. umount /mnt/pinephone-emmc (to cleanly unmount the partition now that you are done) Then shut down the PinePhone, remove the battery, remove the microSD card, reinsert the battery, and it should boot from eMMC again. RE: Pinephone error system-generators/ostree-system-generator failed with exit status 127 - Daniello - 06-14-2024 Thank you for answer -I will check it. In that case if ostree generator is not important can I simply delete the file insead of masking it ? RE: Pinephone error system-generators/ostree-system-generator failed with exit status 127 - Kevin Kofler - 06-15-2024 If you delete the file, it will be restored on the next update of the package that ships it (probably systemd), so if the underlying bug is not fixed by then, it will reoccur. |