Unable hibernate with encrypted swap

First, i was using the LUKS device PARTUUID instead of the swap UUID on the kernel resume= parameter, Second, i had to add the swap luks partition to boot.initrd.luks.devices. Hibernation is working now but i gave up using a keyfile and am using a passphrase. wich i have to type two times despite being the same for my root luks container and my swap luks container, but that’s another issue.

2 Likes