Since I live in germany, I set my time zone and keyboard layout to it. This does not apply to the system language!
I am writing this guide while installing Arch in a virtual machine.
Therefore my hard disk is /dev/sda and the hostname arch-vm.
- Change the keyboard layout temporarily:
loadkeys de-latin1 - Update the system clock:
timedatectl set-ntp true - Check where your disk lives:
fdisk -l
- For IDE controllers:
/dev/hda,/dev/hdb,/dev/hdc - For SATA controllers:
/dev/sda,/dev/sdb,/dev/sdc - For NVMe controllers:
/dev/nvme0,/dev/nvme1
- Create new partitions on your target drive:
fdisk /dev/sda - enter
gto create a new GPT partition table - enter
nfor a new partition and set the last vector to:+512M-> efi - enter
nfor a new partition and set the last vector to :+8192M-> swap - enter
nfor a new partition and leave everything blank (default) -> root - Change the partition types
- enter
tfollowed by1to select theefipartition and enter1to set theEFI Systemtype - enter
tfollowed by2to select theswappartition and enter19to set theLinux swaptype - enter
tfollowed by3to select therootpartition and enter24to set theLinux root (x86-64)type - Enter
wto write the partitions and exitfdisk.
tba