Preparations
This is a shortened version of the Arch Wiki installation guide.
- Download and create a live boot USB with the image
- Windows: Use either of win32diskwriter or etcher to write the image to a USB drive
- macOS:
# determine the path to the drive sudo diskutil list # flash the image dd bs=4M if=path/to/image.iso of=/path/to/drive conv=fsync oflag=direct status=progress
- Boot the thing
- Set keyboard layout (e.g. German)
loadkeys de-latin1
- If installing remotely via SSH
- Set the root password with
passwd
. Doesn't need to be a good password as it's only active in the install environment. - connect with
ssh -o PreferredAuthentications=password root@archiso
- Set the root password with
- Verify boot mode (if there is output, we're in UEFI and good to go)
ls /sys/firmware/efi/efivars
- List network devices
ip link
- Connect to the internet
- LAN: Just plug in a cable and verify IP obtainment
ip a s # short version of `ip address show`
- WiFi:
# $PASS: your password # $NDEV: the network device in your machine you want to use # $SSID: the network name you're connecting to iwctl --passphrase $PASS station $NDEV connect $SSID
- LAN: Just plug in a cable and verify IP obtainment
- Test connection
ping archlinux.org
- Update system time via NTP
timedatectl set-ntp true