luks
2 HOWTOs · all tags
-
Install and configure snapper on a Fedora Btrfs-on-LUKS system to create filesystem restore points: a root config with hourly timeline snapshots and auto-cleanup, plus automatic pre/post snapshots around every dnf transaction. Fedora 44 uses dnf5, which has no snapper plugin, so the dnf hook is wired up with the libdnf5 'actions' plugin calling a small wrapper script that labels snapshots by operation (dnf install / upgrade / remove). Covers what a root config does and does not capture on Fedora's multi-subvolume layout, why /.snapshots belongs in a top-level subvolume rather than nested inside root, and — the part most guides get wrong — why 'snapper rollback' cannot work on a Fedora install that pins subvol=root in fstab and on the kernel command line, with the subvolume-swap procedure that does.
-
Change a Fedora LUKS2 full-disk-encryption passphrase on a live, mounted system (header backup, luksChangeKey or add-then-kill keyslot) with no reboot or reinstall required.