2022-02-07 16:33:46 +01:00
# Simple, modern and secure installation of Arch Linux with KDE Plasma.
2022-04-07 18:46:03 +02:00
### This is my personal installation routine, which I continously expand and redefine.
2022-02-07 16:33:46 +01:00
2023-09-22 16:50:23 +02:00
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.
2022-02-07 16:33:46 +01:00
2024-10-08 22:26:18 +02:00
Tested and working as of **October 2024** .
2024-05-02 18:06:18 +02:00
![Post-install screenshot. ](screenshot.png )
2022-04-07 18:46:03 +02:00
## To automatically install Arch Linux, clone this repository:
2022-02-11 20:14:41 +01:00
```
2024-05-02 18:06:18 +02:00
$ pacman -Sy git
2024-12-15 12:57:58 +01:00
$ git clone https://git.dataprolet.de/dataprolet/Arch-Linux-Installer.git
2023-09-22 16:50:23 +02:00
$ cd arch
$ sh install.sh
2022-02-11 20:14:41 +01:00
```
2022-07-13 17:33:26 +02:00
### Or as a one-liner:
```
2024-12-15 12:57:58 +01:00
# pacman -Sy git --noconfirm && git clone https://git.dataprolet.de/dataprolet/Arch-Linux-Installer.git && cd arch && sh install.sh
2022-07-13 17:33:26 +02:00
```
2023-09-22 16:50:23 +02:00
### To switch from X11 to Wayland on an existing installation use the following command and reboot:
```
2024-05-02 18:08:33 +02:00
# pacman -S wayland xorg-xwayland && sed -i 's/plasma/plasmawayland/g' /etc/sddm.conf.d/kde_settings.conf
2023-09-22 16:53:36 +02:00
```
2023-09-22 16:50:23 +02:00
2022-04-07 18:46:03 +02:00
### *There are now two additional versions of the script:*
2022-04-26 18:03:53 +02:00
- `install-lvm.sh` - Installs using Ext4 and uses LVM for /root and /home.
2023-09-22 16:54:57 +02:00
- `install-grub.sh` - Installs using GRUB for legacy BIOS (and Btrfs).
- `ìnstall-x11.sh` - Installs using X11 (and systemd-boot/Btrfs).
2022-04-01 00:04:29 +02:00
2022-04-07 18:46:03 +02:00
## All features:
2022-04-26 18:03:53 +02:00
- Prompt for all user input at the start (hostname, username, passwords).
2022-02-16 13:04:15 +01:00
- Partitions a primary and a boot partition.
- Encrypts the primary partition using LUKS.
2022-04-26 17:55:09 +02:00
- Creates Btrfs filesystems with zstd compression.
2022-04-26 18:03:53 +02:00
- Creates Btrfs volumes for /root and /home.
2022-02-16 13:04:15 +01:00
- Refreshes the latest mirror list.
2022-04-26 18:03:53 +02:00
- Installs a base system (base linux linux-firmware btrfs-progs nano networkmanager sudo).
2022-02-16 13:04:15 +01:00
- 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.
---