From 98a4aa324c2f4725ddfcf94a8b6e96079218e26d Mon Sep 17 00:00:00 2001 From: hau Date: Thu, 22 Oct 2020 15:11:07 +0700 Subject: [PATCH] add linux lts and linux zen --- Applications/System/systemd-boot.md | 34 +++++++++++++++++++++++------ install-archlinux.md | 2 +- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/Applications/System/systemd-boot.md b/Applications/System/systemd-boot.md index dde6c80..3cab53a 100644 --- a/Applications/System/systemd-boot.md +++ b/Applications/System/systemd-boot.md @@ -14,13 +14,25 @@ Update: bootctl update ``` +Label partition: + +```sh +e2label /dev/xxxY ROOT +``` + +View partitions: + +```sh +blkid +``` + Edit `/efi/loader/loader.conf`: ```txt default archlinux.conf timeout 4 -console-mode max editor no +console-mode max ``` Edit `/boot/loader/entries/archlinux.conf`: @@ -33,14 +45,22 @@ initrd /initramfs-linux.img options root="LABEL=ROOT" rw ``` -Label partition: +Edit `/boot/loader/entries/archlinux-lts.conf`: -```sh -e2label /dev/xxxY ROOT +```txt +title Arch Linux LTS +linux /vmlinuz-linux-lts +initrd /intel-ucode.img +initrd /initramfs-linux-lts.img +options root="LABEL=ROOT" rw ``` -View partitions: +Edit `/boot/loader/entries/archlinux-zen.conf`: -```sh -blkid +```txt +title Arch Linux ZEN +linux /vmlinuz-linux-zen +initrd /intel-ucode.img +initrd initramfs-linux-zen.img +options root="LABEL=ROOT" rw ``` diff --git a/install-archlinux.md b/install-archlinux.md index e762cfe..3f6a0f6 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -94,7 +94,7 @@ mount /dev/sdxY /mnt/home ### Installation ```sh -pacstrap /mnt base base-devel linux linux-firmware man-db man-pages intel-ucode neovim +pacstrap /mnt base base-devel linux linux-lts linux-zen linux-firmware man-db man-pages intel-ucode neovim ``` ### Boot loader