Hello. There seems to be an issue with systemd 244 (the current in repos) regarding hibernation. As seen here: search on github
and more specifically: this issue
The issue seems to have made its way to my system since the most recent systemd update. I had a working swap setup prior. Things are documented here:
I don't know if it's reproducible on a fresh system but these were the steps I've taken to create my config:
- my ram is 4gb
- create a 4.5gb swapfile with dd and /dev/zero
- mkswap and swapon
- add an entry for it in fstab
- find the offsets with filefrag
- add the relevant resume entries and offsets in cmdline
- usysconf run -f to make sure everything is in its right place
- reboot and try with systemctl hibernate
last step worked normally until the most recent systemd update