With new Omarchy installs no longer setting up hibernation by default, here’s how I check where my own laptop stands before I bother with it. Nothing here changes your system. It’s all read-only.
1. Is the kernel locked down?
Secure Boot usually puts the kernel in lockdown, and a locked-down kernel won’t hibernate. The value in brackets is the active mode:
cat /sys/kernel/security/lockdown
# [none] integrity confidentiality -> no lockdown
# none [integrity] confidentiality -> locked down, no hibernation
bootctl status 2>/dev/null | grep -i 'secure boot'
2. Does the kernel offer hibernation at all?
cat /sys/power/state # look for "disk"
cat /sys/power/disk # empty or [disabled] means no
3. Is there enough swap?
You need swap at least about the size of the RAM in use. Compare the two:
free -h
swapon --show
4. Will the system know where to resume from?
Check for resume parameters on the kernel command line and a resume hook in the initramfs config:
grep -o 'resume[^ ]*' /proc/cmdline
grep -E '^HOOKS' /etc/mkinitcpio.conf /etc/mkinitcpio.conf.d/*.conf 2>/dev/null | grep -o resume
5. Let Omarchy decide
Omarchy has its own checker, which already treats lockdown as a reason hibernation isn’t available. If it says yes and you want it, the setup is now opt-in:
omarchy-hibernation-available && echo "hibernation available"
# opt in only if you really want it:
# omarchy hibernation setup
If lockdown is on, I just stick with suspend. It’s quick, and with Secure Boot it’s the one that works.
God Bless, and Happy hacking!