til/Applications/System/systemd-boot.md

1.2 KiB

systemd-boot

Read systemd-boot.

Install using XBOOTLDR:

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

Update:

bootctl update

Label partition:

e2label /dev/xxxY ROOT

View partitions:

blkid

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

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

title       Arch Linux LTS
linux       /vmlinuz-linux-lts
# Using Intel
initrd      /intel-ucode.img
# Using AMD
initrd      /amd-ucode.img
initrd      /initramfs-linux-lts.img
options     root="LABEL=ROOT" rw

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

title       Arch Linux ZEN
linux       /vmlinuz-linux-zen
# Using Intel
initrd      /intel-ucode.img
# Using AMD
initrd      /amd-ucode.img
initrd      /initramfs-linux-zen.img
options     root="LABEL=ROOT" rw