til/Applications/System/systemd-boot.md

681 B

systemd-boot

Install using XBOOTLDR:

bootctl --esp-path=/efi --boot-path=/boot install

Update everytime systemd is updated:

bootctl --esp-path=/efi --boot-path=/boot update

Label partition

Edit /efi/loader/loader.conf:

default	archlinux.conf
timeout 4
editor no
console-mode max

Edit /boot/loader/entries/archlinux.conf:

title Arch Linux
linux /vmlinuz-linux

# Using Intel
initrd /intel-ucode.img

# Using AMD
initrd /amd-ucode.img

initrd /initramfs-linux.img
options root="LABEL=ROOT" rw