My personally preferred way of installing Arch Linux using KDE Plasma with encrypted Btrfs, systemd-boot and UEFI.
Go to file
dataprolet e88fee8fc2 Add headless installer. 2024-06-03 15:05:37 +02:00 Update 2024-05-02 16:08:33 +00:00 Update, 2022-02-16 15:05:55 +00:00 Update 2022-04-07 16:29:47 +00:00 Add headless installer. 2024-06-03 15:05:37 +02:00 Btrfs is now the default 2022-04-26 15:52:51 +00:00 Switched to Wayland. 2023-09-22 14:44:16 +00:00 Update 2022-03-07 10:34:31 +00:00 Undo. 2024-05-05 17:56:14 +00:00
pkgs Update pkgs 2023-01-30 10:47:18 +00:00 Update 2022-02-26 19:31:01 +00:00 Update file 2023-01-30 18:24:51 +00:00
screenshot.png Upload screenshot. 2024-05-02 16:02:03 +00:00

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, systemd-boot and Wayland, 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.

Tested and working as of May 2024.

Post-install screenshot.

To automatically install Arch Linux, clone this repository:

$ pacman -Sy git
$ git clone
$ cd arch
$ sh

Or as a one-liner:

# pacman -Sy git --noconfirm && git clone && cd arch && sh

To switch from X11 to Wayland on an existing installation use the following command and reboot:

# pacman -S wayland xorg-xwayland && sed -i 's/plasma/plasmawayland/g' /etc/sddm.conf.d/kde_settings.conf

There are now two additional versions of the script:

  • - Installs using Ext4 and uses LVM for /root and /home.
  • - Installs using GRUB for legacy BIOS (and Btrfs).
  • ì Installs using X11 (and systemd-boot/Btrfs).

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.