Arch-Linux-Installer/README.md

50 lines
2.1 KiB
Markdown
Raw Normal View History

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
2023-09-22 16:50:23 +02:00
##### [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).
2022-02-13 16:34:07 +01:00
2022-02-16 14:06:39 +01:00
---
2022-04-07 18:46:03 +02:00
## To automatically install Arch Linux, clone this repository:
2022-02-11 20:14:41 +01:00
```
2023-09-22 16:50:23 +02:00
# pacman -Sy git
$ git clone https://gitlab.com/dataprolet/arch
$ 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:
```
2023-09-22 16:50:23 +02:00
# pacman -Sy git --noconfirm && git clone https://gitlab.com/dataprolet/arch && cd arch && sh install.sh
2022-07-13 17:33:26 +02:00
```
2023-09-22 16:53:23 +02:00
- Tested and working as of September 2023.
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:
```
# pacman -S wayland xorg-xwayland plasma-wayland-session && sed -i 's/plasma/plasmawayland/g' /etc/sddm.conf.d/kde_settings.conf
2023-09-22 16:51:20 +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.
2022-04-07 18:46:03 +02:00
- `install-grub.sh` - Installs using GRUB for legacy BIOS.
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.
---