Hi there, i am not sure if my issue is similar to Hibernation with a swap file, however, i am coming from archlinux, where i used to use a swapfile inside an encrypted partition for hibernation … and swap. I didn’t read anywhere how to add / if i need to add the
resume hook, so i assume it is not needed. My goal is to let my laptop hibernate automatically after suspend.
So on the installation, i did not add a swap partition (otherwise it would work out of the box as i read?), instead i’ve created the swapfile in an additional step (and swap works just fine).
This is what my grub looks like now:
GRUB_CMDLINE_LINUX=" rd.lvm.lv=fedora_localhost-live/root rd.luks.uuid=luks-bc11...74c rhgb quiet resume=/dev/disk/by-uuid/bc1...874c # my root partition resume_offset=1398784" # offset to locate the swapfile
When i’ve tried to confirm my setup, i ran
systemctl hibernate and the only thing that happened was, that the lockscreen popped up. I couldn’t find any error on my logs so i kinda have nothing to work with.
Help would be very appreciated.