Download the Arch Linux ISO using the instructions from the download page.
Also download b2sums.txt, sha256sums.txt, and the *.sig file containing a GPG signature of the image.
Example download location by NetCologne.
b2sum -c b2sums.txt --ignore-missing
sha256sum -c sha256sums.txt --ignore-missing
gpg --auto-key-locate clear,wkd -v --locate-external-key pierre@archlinux.org
gpg --verify archlinux-x86_64.iso.sigDefine
INSTALLATION_MEDIUM=/dev/sdcand run
sudo dd if=archlinux-x86_64.iso of="$INSTALLATION_MEDIUM" bs=4M status="progress"In your BIOS settings, make sure to disable secure boot.
Now boot the Arch ISO Live Environment using the installation medium.
Either plug in an Ethernet cable or connect to a WLAN using iwctl and by executing these commands in the interactive session:
device list
station wlan0 scan
station wlan0 connect <SSID>
exitUse the archinstall command to install Arch. Make sure to select/set the following installation options:
- Mirrors and repositories: Germany
- Disk configuration: Use the default partitioning layout for your main disk
- Disk > File system: Choose btrfs with a default subvolume layout and compression enabled
- Disk > Disk encryption: Enable LUKS encryption, set a password and select the main partition to enable the encryption of it
- Hostname: Set a hostname
- Authentication > Root password: Set a password
- Authentication > User account: Add your user and make sure to make it a super user
- Network configuration: Choose to copy from ISO
- Timezone: Europe/Berlin
Now start the installation with the configured options. After the installation is done, reboot the system.
Inside the newly booted system, run these commands to obtain the installation scripts:
sudo pacman -S git neovim
git clone https://github.com/drjole/arch.gitChange into the cloned directory and adjust the values in config.sh as needed:
cd arch
# Edit `config.sh`...If you want to run additional host-specific configuration, add a $(hostname).sh script.
It will be executed at the end of the installation script.
Also, if you want to add host-specific dotfiles, add a $(hostname) directory in your dotfiles repository.
It will be stowed when dotfiles are being installed.
Finally, run the installation script.
You will be asked for your password for sudo three times: Once at the beginning of the installation and then twice again when yay is being installed.
./install.sh- When asked for the initial GNOME keyring password, leave it empty in order for the keyring to be unlocked automatically on login.
- In Firefox, set
intl.regional_prefs.use_os_localestotrueinabout:configin order to use german date formats in Firefox while keeping language at English. - Add previous SSH keys.
- Make sure to
chmod 600the private key.