From 58bc04d90863203449625599070cdd2b4eae9645 Mon Sep 17 00:00:00 2001 From: hau Date: Fri, 30 Oct 2020 00:52:16 +0700 Subject: [PATCH] add linux-hardener --- Applications/System/systemd-boot.md | 12 +++++++++++- install-archlinux.md | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Applications/System/systemd-boot.md b/Applications/System/systemd-boot.md index 3cab53a..9160ef3 100644 --- a/Applications/System/systemd-boot.md +++ b/Applications/System/systemd-boot.md @@ -61,6 +61,16 @@ Edit `/boot/loader/entries/archlinux-zen.conf`: title Arch Linux ZEN linux /vmlinuz-linux-zen initrd /intel-ucode.img -initrd initramfs-linux-zen.img +initrd /initramfs-linux-zen.img +options root="LABEL=ROOT" rw +``` + +Edit `/boot/loader/entries/archlinux-hardened.conf`: + +```txt +title Arch Linux Hardened +linux /vmlinuz-linux-hardened +initrd /intel-ucode.img +initrd /initramfs-linux-hardened.img options root="LABEL=ROOT" rw ``` diff --git a/install-archlinux.md b/install-archlinux.md index 93f1c61..0bcc442 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-lts linux-zen linux-firmware man-db man-pages intel-ucode neovim +pacstrap /mnt base base-devel linux linux-lts linux-zen linux-hardened linux-firmware man-db man-pages intel-ucode neovim ``` ### Boot loader