You are not logged in.
I have a swap partition with space larger than the amount of RAM that I have. I've also added the swap partition UUID to resume from in grub. The hibernation works, resume works but when I log back in, none of the previously opened applications were restored.
Could you guys guide me on what I'm missing?
The log has this line:
systemd[1]: Reached target Sleep.
systemd[1]: Starting Hibernate...
systemd-sleep[988]: Entering sleep state 'hibernate'...
kernel: PM: Image not found (code -22)
Last edited by amity88 (2021-10-20 16:53:15)
Offline
Okay, it was a silly problem. This got solved by rebuilding the initramfs with the resume hook enabled.
sudo vi /etc/mkinitcpio.conf
add resume to the HOOK parameter
sudo mkinitcpio -P
Offline