Archlinux install notes

I still remember when I got into arch the first time. It was damn hard and it felt like crazy to setup an operating system by hand. Although the wiki is very detailed about, it often lacks an opinionated path very likely how the debian installer does. It feels overwhelming to choose between the sheer endless possibilities, which results in a paradox of choice quite often. All that power comes with responsibility I was not able to handle at the time. This is just a guide for myself, so don’t forget to RTFM.

Prepare the disks

Use gdisk /dev/sda to create 2 partitions:

I also do use full disk encryption with LVM on LUKS on anything mobile. This way I feel kinda safe whatever happens while arch isn’t running, whether one may do a steal or I leave it somewhere behind, no one but me can access any data stored on the disk1 – as long as it is powered off.

Install the system

Before I start, I’ve to make sure I can access the internet. This could be done with an ethernet cable attached to and a bridged network which will share the internet connection, enable tethering on your phone via USB or a wireless network I connect to with the interactive wifi-menu.

Setup the bootloader

Use the bootloader arch comes with by default which is systemd-boot and setup the bootloader with bootctl --path=/boot install. Then configure the default entry, timeout and make sure to disable the editor. To get the UUID use blkid -s UUID -o value /dev/sda2 and redirect the output to the config file.

Exit, unmount everything and reboot.

If something has gone wrong, encrypt the block device, mount the root and boot partitions and chroot into it again. Rinse and repeat ’till the issue is fixed.

  1. I don’t expect anyone to replace my bootloader with something which will leak the password the next time I’m typing it.