docs: cleanup systemd-boot

main
Tran Hau 2021-04-22 03:17:53 +00:00
parent 1be0f5f048
commit 482db9c0cd
1 changed files with 13 additions and 36 deletions

View File

@ -27,47 +27,24 @@ blkid
Edit `/efi/loader/loader.conf`: Edit `/efi/loader/loader.conf`:
```txt ```txt
default archlinux.conf default archlinux.conf
timeout 4 timeout 4
editor no editor no
console-mode max console-mode max
``` ```
Edit `/boot/loader/entries/archlinux.conf`: Edit `/boot/loader/entries/archlinux.conf`:
```txt ```txt
title Arch Linux title Arch Linux
linux /vmlinuz-linux linux /vmlinuz-linux
# Using Intel # Using Intel
initrd /intel-ucode.img initrd /intel-ucode.img
# Using AMD # Using AMD
initrd /amd-ucode.img initrd /amd-ucode.img
initrd /initramfs-linux.img
options root="LABEL=ROOT" rw initrd /initramfs-linux.img
``` options root="LABEL=ROOT" rw
Edit `/boot/loader/entries/archlinux-lts.conf`:
```txt
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`:
```txt
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
``` ```