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
- 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:
# $DEV : the network device in your machine you want to use # $SSID: the network name you're connecting to # $PASS: the passphrase to the network iwctl station $DEV connect $SSID --passphrase $PASS
- LAN: Just plug in a cable and verify IP obtainment
- 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 to the installation medium
ssh -o PreferredAuthentications=password root@archiso
- Set the root password with
- Test connection
ping archlinux.org
- Update system time
timedatectl set-ntp true