til/Applications/System/systemd-boot.md

964 B

systemd-boot

Install using XBOOTLDR:

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

Automatic update:

systemctl enable systemd-boot-update.service

Manual update:

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

# Intel
initrd /intel-ucode.img

# AMD
initrd /amd-ucode.img

initrd /initramfs-linux.img

# Kernel parameters
#
# Acer Nitro AN515-45
# https://wiki.archlinux.org/title/backlight#Kernel_command-line_options
# acpi_backlight=vendor
#
# NVIDIA
# https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting
# nvidia-drm.modeset=1
options root="LABEL=ROOT" rw