I currently try to get hibernate to work with my system. I use ext4 root and home each on a separate LUKS encrypted partition. I boot with systemd boot and have a swapfile with 64G that’s added to my /etc/fstab. I added resume and resume_offset to the cmdline, reinstalled the kernels and rebuilt dracut.
Now I’m wondering
why systemctl hibernate returns Call to Hibernate failed: No such file or directory
why the hibernate option isn’t showing up in the kde menu
after reboot the UUID has changed with me. So findmnt -no UUID -T /swapfile
gave the final UUID and sudo filefrag -v /swapfile | awk '{if($1=="0:") print $4}'
showed the resume_offset
these two were added to (in my case)
/efi/loader/entries/e2b14c1100c74e55bc2e58c607a6a3c2-7.0.3-arch1-2.conf
at the end of the options