Benutzer-Werkzeuge

Webseiten-Werkzeuge


archlinux-installation

Dies ist eine alte Version des Dokuments!


ArchLinux Installation

EFISTUB + Verschlüsselung + Secure Boot (MS 3rd Party cert) + TPM

Tastatur-Layout laden

ls /use/share/kbd/keymaps/i386/qwertz/de*
loadkeys de-latin1-nodeadkeys

Netzwerk konfigurieren (nur bei WLAN)

ip a
iwctl station wlan0 connect <SSID>
ping archlinux.org

Datum/Uhrzeit einstellen

timedatectl set-ntp true
timedatectl set-timezone Europe/Berlin
timedatectl set-local-rtc 0
timedatectl status

Auflisten der Speichermedien

lsblk #or blkid

Vorbereitung für Verschlüsselung (Secure Erase)

cryptsetup open --type plain -d /dev/urandom /dev/nvme0n1 to_be_wiped
lsblk
dd if=/dev/zero of=/dev/mapper/to_be_wiped status=progress bs=1M
cryptsetup close to_be_wiped

Partitionierung

parted /dev/nvme0n1
mklabel gpt
mkpart esp fat32 0% 513MiB
mkpart root btrfs 513MiB 100%
set 1 esp on
print
quit

EFI System Partition (ESP) formatieren

mkfs.fat -F 32 /dev/nvme0n1p1

dm-crypt + LUKS (Linux Unified Key Setup)

# --allow-discards
cryptsetup benchmark
cryptsetup --type luks2 --cipher aes-xts-plain64 --key-size 512 --hash sha512 --pbkdf argon2id --verify-passphrase luksFormat /dev/nvme0n1p2
/home/http/wiki/data/attic/archlinux-installation.1664983800.txt · Zuletzt geändert: von david