<!doctype html>

Arch Linux Secure Immutable Workstation — Dracut Edition

Secure Boot • UKI • TPM2 • BTRFS/Snapper • Immutable /usr

Arch Linux Secure Immutable Workstation — Dracut Edition

A novice-safe, copy-pasteable, audit-grade build: dracut-only initramfs, signed UKIs via systemd-ukify, Secure Boot owner keys via sbctl, TPM2 PCR-bound disk unlock, and Snapper rollback.

Boot-chain integrity

Signed systemd-boot and signed UKIs reduce mutable boot surface and defend against offline tampering.

Resilience

BTRFS subvolumes + Snapper snapshots enable deterministic rollback after bad updates.

0. Reading Rules (Novice-Safe)

mandatory
  • Only execute commands shown in code blocks.
  • DESIGN NOTE blocks are informational, non-actionable.
  • VERIFY blocks are checkpoints you must pass before proceeding.
  • Device assumptions (adjust only if different): /dev/nvme0n1 (system), /dev/nvme1n1 (home), /dev/nvme2n1 (archives/backups).

1. Security Architecture (What This Build Guarantees)

overview

Boot-chain integrity

  • UEFI Secure Boot with owner-controlled keys (sbctl).
  • UKI embeds kernel + initramfs + cmdline, reducing mutable boot surface.

Disk confidentiality + anti-evil-maid

  • Root LUKS2 unlock is TPM2-bound with explicit PCR policy.
  • Recovery passphrase remains available.

Rollback + recoverability

  • BTRFS subvolumes + Snapper snapshots enable rollback after bad updates.

Immutability

  • /usr is treated as runtime immutable via bind+RO model.

5. Live ISO Preparation

install
VERIFY: You must be booted in UEFI mode.
ls /sys/firmware/efi/efivars
timedatectl set-ntp true
timedatectl status