My personally preferred way of installing Arch Linux using KDE Plasma with encrypted Btrfs, systemd-boot and UEFI.
Go to file
proledatarian 0c404dd885 Update pkgs 2023-01-30 10:47:18 +00:00
README.md Update README.md 2022-12-12 20:48:53 +00:00
install-full.sh Update install-full.sh, README.md 2022-02-16 15:05:55 +00:00
install-grub.sh Update install-grub.sh 2022-04-07 16:29:47 +00:00
install-lvm.sh Btrfs is now the default install.sh. 2022-04-26 15:52:51 +00:00
install.md Update install.md 2022-03-07 10:34:31 +00:00
install.sh Update install.sh 2022-12-16 17:22:15 +00:00
pkgs Update pkgs 2023-01-30 10:47:18 +00:00
post-install.md Update post-install.md 2022-02-26 19:31:01 +00:00

README.md

Simple, modern and secure installation of Arch Linux with KDE Plasma.

This is my personal installation routine, which I continously expand and redefine.

This installation script aims for a simple (read minimal) Arch Linux installation, which is modern in the way that it uses UEFI and systemd-boot, secure in the way that it uses full-disk encryption using LUKS as well as flexibility by using Btrfs subvolumes for the root and home partition.

Click here to go to the manual installation (Ext4/LVM)...

To automatically install Arch Linux, clone this repository:

pacman -Sy git
git clone https://gitlab.com/dataprolet/arch
cd arch
sh install.sh

Or as a one-liner:

pacman -Sy git --noconfirm && git clone https://gitlab.com/dataprolet/arch && cd arch && sh install.sh
  • Tested and working as of December 2022.

There are now two additional versions of the script:

  • install-lvm.sh - Installs using Ext4 and uses LVM for /root and /home.
  • install-grub.sh - Installs using GRUB for legacy BIOS.

All features:

  • Prompt for all user input at the start (hostname, username, passwords).
  • Partitions a primary and a boot partition.
  • Encrypts the primary partition using LUKS.
  • Creates Btrfs filesystems with zstd compression.
  • Creates Btrfs volumes for /root and /home.
  • Refreshes the latest mirror list.
  • Installs a base system (base linux linux-firmware btrfs-progs nano networkmanager sudo).
  • Installs very few additional packages (firefox konsole linux-zen)
  • Installs a minimal KDE Plasma desktop environment (plasma-desktop, sddm, sdmd-kcm)
  • Installs systemd-boot as a bootloader.
  • Sets German keyboard layout and English locale.
  • Enables SDDM auto-login to boot into Plasma after the first reboot.