Failed unit (bootloader-update) on fresh install on Hetzner
I did these steps:
- Created a new VPS on Hetzner, choosing the official Fedora 43 image
sudo dnf -y install system-reinstall-bootcsystem-reinstall-bootc quay.io/fedora/fedora-bootc:43sudo reboot
The reboot seemed to work, but i got a “failed unit” bootloader-update
Jan 22 14:59:56 fedora bootupctl[839]: error: Failed adopt and update: opening EFI dir: No such file or directory (os error 2)
So I investigated what was mounted:
[root@static ~]# mount | grep boot
/dev/sda1 on /boot type ext4 (rw,relatime,seclabel)
[root@static ~]# mount | grep efi
[root@static ~]# ls /boot
boot bootupd-state.json grub2 loader loader.1 ostree
EDIT: The issue striked out below is resolved by https://github.com/bootc-dev/bootc/pull/1936
A bit later when I ssh:ed back in (without doing anything at all) I saw that I now had another failed unit as well: bootc-destructive-cleanup.service
Jan 26 17:17:08 fedora systemd[1]: Starting bootc-destructive-cleanup.service - Cleanup previous the installation after an alongside installation...
Jan 26 17:17:08 fedora fedora-bootc-destructive-cleanup[833]: + mount -o remount,rw /sysroot
Jan 26 17:17:08 fedora fedora-bootc-destructive-cleanup[845]: + xargs rpm -e --root=/sysroot --dbpath=/usr/lib/sysimage/rpm
Jan 26 17:17:08 fedora fedora-bootc-destructive-cleanup[844]: + rpm -qa --root=/sysroot --dbpath=/usr/lib/sysimage/rpm
Jan 26 17:17:08 fedora fedora-bootc-destructive-cleanup[869]: rpm: no packages given for erase
Jan 26 17:17:08 fedora systemd[1]: bootc-destructive-cleanup.service: Main process exited, code=exited, status=123/n/a
Jan 26 17:17:08 fedora systemd[1]: bootc-destructive-cleanup.service: Failed with result 'exit-code'.
Jan 26 17:17:08 fedora systemd[1]: Failed to start bootc-destructive-cleanup.service - Cleanup previous the installation after an alongside installation.
Note: Originally posted on the community forum here