GRUB is the default on most distros, and it does its job. It is also a large, scripted bootloader that hides a simple task behind configuration generators. If you want a boot menu that is easy to read and trivial to edit, systemd-boot is the alternative baked into systemd itself.
It understands one thing: boot entries stored as small text files on the EFI system partition. That is a constraint and a feature at the same time.
What systemd-boot is
systemd-boot is a minimal UEFI boot manager. It reads entries from the ESP (EFI system partition), presents a menu and hands control to the kernel you pick. There is no scripting language and no generated config; each entry is a plain file you can open and edit. It also auto-detects other EFI loaders, so a Windows install shows up without any work.
Everything is driven by bootctl, the command-line front end.
Before you start
systemd-boot is UEFI-only. Make sure you are booted in UEFI mode and know where your ESP is mounted, usually /boot or /efi. Keep a rescue USB handy — you are changing how the machine boots.
ls /sys/firmware/efi
findmnt /boot
bootctl status
If the first command errors out, you are on legacy BIOS and this guide does not apply.
Install it
Copy the systemd-boot binary onto the ESP and register it with the firmware:
sudo bootctl install
This places the loader at EFI/systemd/ and EFI/BOOT/ on the ESP, so it works even if the firmware only knows the fallback path.
Write a boot entry
Entries live in /boot/loader/entries/ when your ESP is mounted at /boot. Create one for your kernel:
sudo mkdir -p /boot/loader/entries
sudo nano /boot/loader/entries/linux.conf
title Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=UUID=REPLACE-ME rw quiet
Get the correct UUID for your root filesystem — never copy one from a tutorial:
blkid | grep -i root
Kernel paths are relative to the ESP, so /vmlinuz-linux means /boot/vmlinuz-linux when the ESP is mounted there. On most distros those kernel and initramfs paths are symlinks that stay valid across kernel upgrades, which is what keeps the entry from breaking.
Loader configuration
Set the default entry and a short timeout in /boot/loader/loader.conf:
sudo nano /boot/loader/loader.conf
default linux.conf
timeout 4
console-mode max
editor no
editor no is worth keeping: it stops anyone at the physical console from editing kernel parameters at the boot menu.
Verify and switch over
Update the loader and list what it sees:
sudo bootctl update
bootctl list
To make the firmware prefer systemd-boot, set the boot order with efibootmgr. Read the current order first, then move the systemd-boot entry to the front using its boot number:
efibootmgr
sudo efibootmgr -o 0001,0002,0000
Close
systemd-boot trades GRUB’s flexibility for clarity: a handful of text files, one command to update, and a menu that never surprises you. If you run a single-distro UEFI machine and never touch exotic boot options, it is a lighter, more predictable replacement. Reboot once with your rescue USB at hand, confirm the entry boots, and you are done.





Leave a Reply