Arch-Linux-Installer/README.md

50 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
##### [Click here to go to the manual installation (legacy Ext4/LVM)..](https://gitlab.com/dataprolet/simple-modern-and-secure-arch-linux-install/-/blob/master/install.md).
---
## 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 August 2023.
### To switch from X11 to Wayland on an existing installation use the following command and reboot:
```
# pacman -S wayland xorg-xwayland plasma-wayland-session && sed -i 's/plasma/plasmawayland/g' /etc/sddm.conf.d/kde_settings.conf
´´´
### *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.
---