Inside the ISO
1. Load Keyboard Layout (Default: usa
)
TIP
If your keyboard layout isn’t USA, use loadkeys
to switch it. For example, German keyboards use de
. Laptops use latin1 because the layout is slightly different. For example, de-latin1
.
loadkeys de
2. List Your Drives
INFO
To see all connected drives (like hard drives or USB), run:
lsblk
lsblk -S
3. Wipe the Target Drive
WARNING
This erases all data on the drive. Back up anything important first.
gdisk /dev/nvme0n1
gdisk /dev/sda
Steps:
- Press
x
for expert mode. - Press
z
to wipe the drive, confirming withy
.
4. Create Partitions
INFO
Use cfdisk
for an easy partition editor. Navigate with arrow keys and create partitions.
cfdisk /dev/nvme0n1
cfdisk /dev/sda
Create these partitions:
- Boot Partition → 1 GiB (EFI)
- Swap Partition → 4 GiB
- System Partition → Remaining space
5. Format the Partitions
Format Boot Partition (FAT32):
mkfs.fat -F 32 /dev/nvme0n1p1
mkfs.fat -F 32 /dev/sda1
Set Up Swap Partition:
mkswap /dev/nvme0n1p2
swapon /dev/nvme0n1p2
mkswap /dev/sda2
swapon /dev/sda2
Format System Partition (EXT4):
mkfs.ext4 -F /dev/nvme0n1p3
mkfs.ext4 -F /dev/sda3
6. Mount Your Partitions
Mount System Partition:
mount /dev/nvme0n1p3 /mnt
mount /dev/sda3 /mnt
Mount Boot Partition:
mount --mkdir /dev/nvme0n1p1 /mnt/boot
mount --mkdir /dev/sda1 /mnt/boot
7. Install Arch Linux
Package Info:
linux
is the standard Arch kernel, while linux-zen
offers desktop performance tweaks for better responsiveness. Install matching headers (linux-headers
or linux-zen-headers
) for DKMS support.
IMPORTANT
You will need to install intel-ucode
for intel CPUs and amd-ucode
for AMD CPUs for their microcode. These are important for stability, security and performance!
pacman -Syy
pacstrap -K /mnt base base-devel linux-zen linux-zen-headers linux-firmware sof-firmware nano networkmanager grub efibootmgr intel-ucode bash-completion
8. Generate the fstab File
INFO
Generate the fstab
file, which tells the system which partitions to mount on boot.
genfstab -U /mnt >> /mnt/etc/fstab
9. Enter the New System Environment
INFO
Change the root directory to your new installation for further setup:
arch-chroot /mnt