Preparations
This is a shortened version of the Arch Wiki installation guide.
CreateDownload 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
Easy.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
VerifyverifywithIP obtainmentip a s # short version of `ip address show`
- WiFi:
#
run$PASS:your password # $NDEV: the network device in your machine you want to use # $SSID: the network name you're connecting to iwctl --passphrase
MY_PASSPHRASE$PASS stationMY_DEVICE$NDEV connectMY_SSID$SSID
- LAN: Just plug in a cable
- Test connection
ping archlinux.org
- Update
Systemsystem time via NTPtimedatectl set-ntp true