add linux lts and linux zen

main
hau 2020-10-22 15:11:07 +07:00
parent 8cf8ec078a
commit 98a4aa324c
2 changed files with 28 additions and 8 deletions

View File

@ -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
```

View File

@ -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