4 ms·
> but both Linux and Windows support suspending to disk out of the box. At least with Linux, out of the box all you'll have is the message "Lockdown: systemd-l
by cesarb 3y ago
> but both Linux and Windows support suspending to disk out of the box.
At least with Linux, out of the box all you'll have is the message "Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7" in your logs.
(The trick is to either disable Secure Boot, or AFAIK make use of an encrypted swap partition; IIRC, there's a bug which makes it not recognize a swap volume within LVM within LUKS as encrypted swap, so it has to be directly on a disk partition.)
- mecsred 3y agoI've run both a Secure Boot/encrypted boot partition NixOS and plain LVM on LUKS archlinux on my Framework and neither had any issues or bugs with hibernating. Just add a resume hook to mkinitcpio and a kernel parameter to the UUID of the swap vol and it works fine.