# Bootloader failed to install with systemd-boot

**URL:** https://discourse.nixos.org/t/bootloader-failed-to-install-with-systemd-boot/79615
**Category:** Help
**Created:** [August 16, 2026, 8:34am UTC](https://discourse.nixos.org/t/bootloader-failed-to-install-with-systemd-boot/79615 "2026-08-16T08:34:00Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![vic-bart](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vic-bart/32/38582_2.png) [@vic-bart](https://discourse.nixos.org/u/vic-bart)
#### Post date: [September 4, 2026, 3:55am UTC](https://discourse.nixos.org/t/bootloader-failed-to-install-with-systemd-boot/79615/5 "2026-09-04T03:55:36Z")

</div>

I did some research, seems like this is a false positive bug; there actually is no issue with the boot loader so it should be safe to ignore the error, so following [this person’s advice](https://github.com/NixOS/nixpkgs/issues/201677#issuecomment-2594393039), setting `boot.loader.systemd-boot.graceful = true;` in my configuration.nix fixed my issues.

Links related to the issue if you’re curious:

- [`bootctl update` exits with code 1 despite succeeding · Issue #37664 · systemd/systemd · GitHub](https://github.com/systemd/systemd/issues/37664)
- [bootctl recognizes the file it just updated as already up-to-date and fails · Issue #33392 · systemd/systemd · GitHub](https://github.com/systemd/systemd/issues/33392)
- [bootctl: do not fail when the same file is updated multiple times by yuwata · Pull Request #33400 · systemd/systemd · GitHub](https://github.com/systemd/systemd/pull/33400/changes)
- [Can't deploy nixos config due to systemd-boot · Issue #331170 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/issues/331170)
- [systemd-boot: installation hard-fails when no bootloader was previously installed · Issue #201677 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/issues/201677)
- [systemd: bootctl --root --install-source=image still dereferences NixOS /nix/store path inside foreign image roots · Issue #510074 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/issues/510074)
- [`bootctl update` exits with code 1 despite succeeding · Issue #37664 · systemd/systemd · GitHub](https://github.com/systemd/systemd/issues/37664)
- ['bootctl update --graceful' does not ignore EFI variable errors as documented · Issue #26773 · systemd/systemd · GitHub](https://github.com/systemd/systemd/issues/26773)

---

_[View the full topic](https://discourse.nixos.org/t/bootloader-failed-to-install-with-systemd-boot/79615)._
