agon
Lt. Junior Grade
- Registriert
- Feb. 2022
- Beiträge
- 329
0 INTRO
This extensive & modular guide focuses on how to install and set up Arch Linux with the following goals in mind. The system should:- be as stable as possible,
- be sufficiently secure (without compromising usability too much),
- have acceptable low latency (for real-time applications, including games),
- be automated as much as possible (also for a small maintenance of the system),
- be well set up for KDE, Gaming, Firefox, mpv, Virt-Manager, your hardware, …
Many sections (esp. after installation) should be adaptable to other distributions.
0.1 Recommended prerequisites
- Having an UEFI system & a whole drive
- View: FAQ & Help:Reading
- For a better understanding of certain steps, view:
- the file system hierarchy overview &
- the essential core utilities of a GNU/Linux system
0.2 Key features – Realization of goals
0.2.1 Ideal setup of Secure Boot using
- Unified kernel image (UKI) – a single executable which will be booted directly from UEFI firmware (no extra boot manager). Using mkinitcpio as the UKI generator with systemd init.
- Full-disk encryption (FDE) – dm-crypt using LUKS2 extension
- Kernel lockdown (but disables hibernation)
0.2.2 File system: Btrfs (Feature overview)
0.2.3 Low latency
- linux-zen, enabling real-time, reducing DRI & PipeWire latency, …
0.2.4 System Hardening
- Restrict programs' capabilities:AppArmor
- Sandboxing applications: Firejail (AA is required)
- Firewall: Firewalld
- Kernel Hardening
0.2.5 Setup of the following software
… to make them "best" in their category.- Desktop environment: KDE Plasma
- AUR helper & Pacman wrapper: Paru | Shell: Zsh
- Web browser: Firefox | Media player: mpv
0.2.6 Disk layout
Partition | 1: EFI system partition | 2: Root partition |
File systems & Labels | └ FAT32 (Unencrypted) | └ "Arch" – LUKS2 encrypted . └ "Root" – Btrfs |
Mount points | /efi | /, /.snapshots, /home, /swap, … |
Attachments
- Arch Linux – Setup Guide (ODT, PDF)
- My config files: Package lists, Zsh, Firejail, Firefox, mpv
- Shortcuts introduction (DE: Rund um Shortcuts)
Anhänge
Zuletzt bearbeitet: