Hibernation on CachyOS with GNOME, GRUB, btrfs and FDE

This covers setting up hibernation on CachyOS with GNOME, GRUB, btrfs, full-disk encryption (LUKS unlocked at the GRUB prompt), and zram already in use. Verified on a Lenovo ThinkBook with GNOME 49. Written for CachyOS, but most of this should apply to other Arch-based distributions. A few caveats: CachyOS ships with a systemd-based initrd and zram enabled by default — if your distribution uses a busybox-based initrd (i.e. base and udev hooks rather than systemd), you will need a resume hook in mkinitcpio instead of relying on systemd’s native resume handling. The efivarfs sleep hook in Step 5 is firmware-specific and not distribution-specific. Distributions that use GRUB with LUKS and btrfs in the same way as described here should be able to follow this guide without modification. ...

March 22, 2026 · 8 min · alj

Installing Linux Mint/Ubuntu desktop edition with full-disk encryption and LVM

(This guide applies to any Debian/Ubuntu based distribution) For some reason (complexity perhaps) it is not possible to configure full-disk encryption and LVM from the graphical installer in the desktop edition. It is possible to select full-disk encryption but this only creates one filesystem (root). I want to use LVM to allow me to have more than one filesystem without having to enter more than one password during boot-up. It is not impossible to install Ubuntu desktop (or Linux Mint as in this guide) with encryption and LVM but it does require a little more work. ...

January 7, 2017 · 3 min · alj