Skip to main content

Preparations

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

  1. 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
    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 with ssh -o PreferredAuthentications=password root@archiso
    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
      • Verifyverify withIP obtainment
        ip 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 station MY_DEVICE$NDEV connect MY_SSID$SSID
      
      Test connection
      ping archlinux.org
      
      Update Systemsystem time via NTP
      timedatectl set-ntp true