ID: S202602050916
Status: school
Tags: Arch Linux, POA
Uur-log
Initial Setup
05/02/2026 09:15-11:30
05/02/2026 12:30-16:15
Total: 6h.
I installed the torrent version, and then installed sudo apt install qbittorrent to be able to download the full file from the torrent. After torrenting the entire file, I checked the .iso itās checksum:
echo "c0ee0dab0a181c1d6e3d290a81ae9bc41c329ecaa00816ca7d62a685aeb8d972 /home/<my_username>/Downloads/archlinux-2026.02.01-x86_64.iso" | sha256sum -c -And it returned: /home/<my_username>/Downloads/archlinux-2026.02.01-x86_64.iso: OK which means it is good. Make sure to use the current checksum from the download page.
I am going to install it with a USB flash drive.
After installing the flashdrive, I have to point my pc to it in the BIOS and select Arch Linux Install Medium
Installing the flash drive
I first made sure that it is not mounted. then I ran
sudo dd bs=4M if=/home/<my_username>/Downloads/archlinux-2026.02.01-x86_64.iso \
of=/dev/disk/by-id/usb-Generic_Flash_Disk_ABC00630-0:0 conv=fsync oflag=direct status=progressWhen booted in terminal
After you told the BIOS to boot Arch Linux, you will be met with a terminal.
localectl list-keymaps
loadkeys us
setfont lat2-16 -m 8859-2
cat /sys/firmware/efi/fw_platform_sizeWith this we can see our Boot mode. If it is 64, it means it is UEFI booted in 64 bit.
Connect to internet
Then we try and connect to the internet with
ip linkTo verify that you connected to it, you can ping:
ping ping.archlinux.orgSync the clock
timedatectlMounting and formatting
wipefs -a /dev/nvme0n1
parted /dev/nvme0n1 mklabel gpt
parted /dev/nvme0n1And then in the parted, these commands:
mkpart EFI fat32 1MiB 1025MiB
set 1 esp on
mkpart SWAP linux-swap 1025MiB 5121MiB
mkpart ROOT ext4 5121MiB 100%
quit
mkfs.fat -F32 /dev/nvme0n1p1
mkswap /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p3then I ran:
blkid /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3And nano /etc/fstab:
# /etc/fstab: static file system information.
# See man fstab(5)
# EFI System Partition
UUID=AA11-BB22 /boot vfat defaults,noatime 0 2
# Swap
UUID=11112222-3333-4444-5555-666677778888 none swap sw 0 0
# Root filesystem
UUID=99998888-7777-6666-5555-444433332222 / ext4 defaults,noatime 0 1
Where the UUIDās are replaced with the ones the blkid command showed.
and then I ran mount -a to test it.
pacstrap -K /mnt base linux linux-firmware amd-ucode networkmanager nano vim man-db man-pages
Configuring
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
hwclock --systohc
locale-genThen I created a /etc/locale.conf with LANG=en_US.UTF-8. I also created /etc/hostname with mothership as text. and i created /etc/vconsole.conf with the same keyboard as before: KEYMAP=us
Then I set a root password:
passwdThen I skipped setting up a bootloader since I already have grub for my ubuntu, so I loaded my ubuntu and ran:
sudo update-grubGrub issues
For me personally, it didnāt work with an already installede grub directly, so I had to run this on my arch:
pacman -S grub efibootmgr
grub-install ātarget=x86_64-efi āefi-directory=/boot/efi ābootloader-id=Arch grub-mkconfig -o /boot/grub/grub.cfg
and then this on my ubuntu to keep using the grub on ubuntu's side:sudo os-prober sudo update-grub
References
- arch wiki installation guide