Failed unit (bootloader-update) on fresh install on Hetzner

I did these steps:

  1. Created a new VPS on Hetzner, choosing the official Fedora 43 image
  2. sudo dnf -y install system-reinstall-bootc
  3. system-reinstall-bootc quay.io/fedora/fedora-bootc:43
  4. sudo 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

Edited by Einar Persson