Skip to main content

Preparations

This is a shortened version of the Arch Wiki installation guide.

  1. 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
      
  2. Boot the thing
  3. Set keyboard layout (e.g. German)
    loadkeys de-latin1
    
  4. Verify boot mode (if there is output, we're in UEFI and good to go)
    ls /sys/firmware/efi/efivars
    
  5. List network devices
    ip link
    
  6. 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
      # $DEV:  the network device in your machine you want to use
      # $SSID: the network name you're connecting to
      iwctl --passphrase $PASS station $DEV connect $SSID
      
  7. If installing remotely via SSH
    1. Set the root password with passwd. Doesn't need to be a good password as it's only active in the install environment.
    2. Connect to the installation medium
      ssh -o PreferredAuthentications=password root@archiso
      
  8. Test connection
    ping archlinux.org
    
  9. Update system time
    timedatectl set-ntp true