Is Hibernation under Secure Boot actually possible in Debian (sid)? – Linux – Level1Techs Forums
Posted by jpluimers on 2026/11/25
It was odd: I configured a machine for a friend (see Arjen Lentz Crystal Ball Vulnerability Prediction: A Wizard’s Guide to Foreseeing the Unseen: NLUUG voorjaarsconferentie, 7 mei 2026, Arjen Lentz over de echte root cause van veel CVE’s en hoe die te fixen) which had secure boot enabled.
Suspending with systemctl suspended and the wake up afterwards functioned fine.
systemctl hibernate failed with a “Call to Hibernate failed: Sleep verb ‘hibernate’ is not configured or configuration is not supported by kernel“.
I was hoping for a simple scriptable solution, but the answer to [Wayback Is Hibernation under Secure Boot actually possible in Debian (sid)? – Linux – Level1Techs Forums appears to be “yes, and it is very hard and still has a small security hole, even for other distributions”. Unreasonably hard for a temporary machine, so for that temporary case a systemctl halt and remembering the secure boot credentials will have to do.
Despite that, below some links just in case anyone wants to dig further:
Queries:
- [Wayback/Archive] debian hibernate with secure boot at DuckDuckGo
- [Wayback/Archive] Call to Hibernate failed: Sleep verb ‘hibernate’ is not configured or configuration is not supported by kernel at DuckDuckGo
Results, including the ones not having any answers, or none of the answers are upvoted – both indications this indeed is a hard problem to solve:
- [Wayback/Archive] The ultimate guide to Full Disk Encryption with TPM and Secure Boot (with hibernation support!) is what I should do in the future for such a system which still has the security implication sketched at[Wayback/Archive] Bypassing disk encryption on systems with automatic TPM2 unlock | oddlama’s blog.
- [Wayback/Archive] kde – How to hibernate Debian with Secure Boot enabled and fully encrypted disk? – Unix & Linux Stack Exchange showed what I also saw with dmesg:
dmesg | grep Lockdownshows the reason:[ 50.192145] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 - [Wayback/Archive] How to enable hibernate function on Ubuntu 24.04 LTS using SWAP partition instead of SWAP file? – Ask Ubuntu
- [Wayback/Archive] partitioning – How to set up hibernation with Secure Boot enabled – Ask Ubuntu
Related:
- [Wayback/Archive] Hibernation – Debian Wiki
- [Wayback/Archive] Hibernation/Hibernate_Without_Swap_Partition – Debian Wiki
- [Wayback/Archive] SecureBoot – Debian Wiki
--jeroen






Leave a Comment