Skip to content

System Installation

Using Ansible to install Arch Linux with LUKS and Btrfs

Automating the installation of Arch Linux is an ongoing topic in this blog. In the past, I often used meta packages, but this approach has some drawbacks. So I started trying out Ansible and created some playbooks that enable the automated remote installation of Arch Linux with different flavors: a simple setup (UEFI, an Ext4-formatted system partition, no encryption, no swap) and a more complex setup (UEFI, a Btrfs-formatted system partition with a customizable subvolume structure and, optionally, LUKS encryption and a swap file).

Automating the Installation of Arch Linux Systems

Arch Linux is great because it brings flexibility and gives users control since it's their decision how the system is set up and configured. On the other hand, the standard installation process1 is completely manual, and if the installation needs to be done more often or if multiple machines need to be installed, the process can become cumbersome and annoying. In this post, we will discuss some approaches to make the installation more convenient and easier to repeat.

Wireless freedom – that’s the appealing slogan of OpenWrt, a Linux distribution specifically made for embedded devices such as routers and access points. It gives you full control over what is installed on the device and how it is customized, and it can extend the functional capabilities of your router significantly compared to the vendor's firmware. But the installation can be quite tricky. In this post I want to share some lessons I learned when installing OpenWrt on an Archer C7.