I am trying to install Fedora Kinoite (version 42) on my system but the installation fails with the error message:
“Failed to write boot loader configuration.”
Details:
I downloaded Fedora Kinoite from the official Fedora website.
I used Fedora Media Writer to create a bootable USB flash drive.
I booted my system in UEFI mode and selected the USB drive as the first boot device.
During installation, the disk layout is as follows:
One issue that has caused this problem for a few users is leftover entries in the UEFI NVRAM which contain special characters. A bug in Anaconda means that it can fail to complete writing the bootloader in these circumstances, but often the NVRAM entries aren’t needed can simply be deleted before installation. (Example)
Could you boot into a Linux Live USB (I don’t think Kinoite has one, but you could use Fedora KDE, or pretty much any Linux distro live USB), and in the terminal run efibootmgr ?
If you show the output of that then we can see if this is the issue.
As you can see, there were multiple Fedora entries (0001–0005) in the list earlier. I went ahead and deleted them using efibootmgr -b XXXX -B.
Now only the necessary entries remain (Windows, USB, and one Fedora). I’ll retry the Fedora Kinoite installation and report back if the bootloader configuration issue is resolved.
Thanks again for the help!
I have the same error
Failed to write boot loader configuration
anaconda 42.27.12 exception report pyanaconda.modules.common.errors.installation.VootloaderInstallationError local variables in innermost frame: self:<dasbus.client.handler.ClientObjectHandler object at 0x7fca20eb520> error: g-io-quark: GDBus.Error:org.fedoraproject.Anaconda.BootloaderInstallationError: failed to write boot loader configuration (36)
Based on the limitation linked above by @hricky, when dual booting Windows and Fedora atomic, one needs to use custom partitioning during installation, and create separate /boot and /boot/efi partitions for Fedora (distinct from the Windows ones).
That would also mean that selecting one OS or the other during boot-up would happen from the EFI boot manager, while GRUB will only give you the option to select between available Fedora deployments, but not Windows.
Out of interest, do you know why this is? What is Anaconda doing differently that means it can write to an existing Windows EFI partition when installing Workstation, but not when installing Silverblue?
(I know that if you wanted to dual boot, say, Fedora Workstation and Silverblue on the same machine, you’d need two EFI partitions because the two installs fight over the same /EFI/fedora directory name. But that’s not the case for Windows + Silverblue.)
Thanks to everyone for the detailed discussion – it’s been really helpful in narrowing down the issue.
I’ve been trying to install Fedora Kinoite 42, and ran into the same problem: “Failed to write boot loader configuration” during installation.
After seeing the suggestions here, I booted into a Fedora Live USB and used efibootmgr to remove old/duplicate EFI entries. That seemed to help a few users, but unfortunately, the problem still persists for me.
Just to test further, I tried installing Fedora Workstation (not Kinoite), but that also failed — this time with a different error:
org.fedoraproject.Anaconda.BootloaderInstallationError: Failed to remove old EFI boot entry. This is most likely a kernel or firmware bug.
So this appears to go deeper than just Atomic-specific limitations. Based on this, it looks like there may be a broader issue with Anaconda, UEFI firmware, or possibly a kernel-level bug affecting bootloader entry removal or manipulation.
I’ve double-checked:
Booted in UEFI mode (not legacy)
Used a fresh USB image (from Fedora Media Writer)
Tried custom partitioning with a clean /boot and /boot/efi (separate from Windows)
Deleted all old Fedora boot entries via efibootmgr
Still no success.
Does anyone know if this is a known regression in Anaconda, or if there’s a workaround (e.g., manually installing the bootloader after installation)? I’d really like to get Kinoite working, but even Workstation is currently blocked for me.
You can try following the bootloader repair process, which involves booting into a Live USB, then mounting and chroot-ing into your on-disk install: Restoring the Bootloader using the Live disk
Unfortunately, that method doesn’t work on my setup.
When I boot into the Fedora Workstation Live USB and try to chroot into the installed system, I get the following error:
directory /mnt doesn't look like it has an OS tree (/usr/ directory is missing). Refusing
This means the installed system isn’t fully present — probably because the installation fails before completing the deployment of the OS tree. I also tried manually mounting the Btrfs root and checking the contents, but /usr/ is indeed missing.
So basically, there’s no complete installation to chroot into, likely because the installer fails with:
Failed to write boot loader configuration
And sometimes also:
Failed to set new EFI boot target
I’ve tried full disk wipes (wipefs, blkdiscard) and manually creating EFI + boot + Btrfs root partitions. The issue still occurs whether installing Fedora Kinoite directly, or installing Workstation and planning to switch to Kinoite after.
Ah, sorry - that procedure probably indeed won’t work with the Fedora Atomic images.
There probably is a complete installation, but because it uses an ostree-based image, you can’t get into the filesystem from outside in the same way that you could with Workstation etc.
Did you try the chroot repair process on your Workstation failed install? It should have a better chance of working there.