# efi boot - fat32 - 512MB
/dev/sda1
# root - ext4 - rest of drive
/dev/sda2
# swap - swapfile - same as main memory
mkfs.fat -F32 /dev/sda1
mkfs.ext4 /dev/sda2
mkswap /dev/sda3
swapon /dev/sda3
# efi boot
/mnt/boot
# root
/mnt
Enable wheel group in sudo
# using visudo uncomment the following line
%wheel ALL=(ALL) ALL
useradd -m -g users -G wheel -s /bin/bash username
bootctl --path=/boot install
Get PARTUUID for root and save it to a file
blkid /dev/sda2 > partuuid.txt
vim /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=${PARTUUID from partuuid.txt} rw
vim /boot/loader/loader.conf
default arch
timeout 4
console-mode max
editor no
bootctl --path=/boot update
Enable systemd-networkd services
systemctl enable systemd-networkd.service
systemctl enable systemd-resolved.service
Create systemd-networkd config files
/etc/systemd/network/20-wired.network
[Match]
Name=${eth_device_name}
[Network]
DHCP=yes
/etc/systemd/network/25-wireless.network
[Match]
Name=${wlan_device_name}
[Network]
DHCP=yes