til/Applications/System/systemd-boot.md

734 B

systemd-boot

Read systemd-boot.

Assume you use Arch Linux, and EFI system partition mount point is /boot.

Install:

bootctl --path=/boot install

Update:

bootctl update

Edit /boot/loader/loader.conf:

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

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

title       Arch Linux
linux       /vmlinuz-linux
initrd      /intel-ucode.img
initrd      /initramfs-linux.img
options     root="LABEL=ROOT" rw

Label partition:

e2label /dev/xxxY ROOT

View partitions:

blkid