Thanks. I finally did it. Here is how:
(Replace โ[UUID_of_the_swap_partition]โ with the actual UUID)
- In /etc/fstab added:
UUID=[UUID_of_the_swap_partition] none swap defaults 0 0
- In /etc/default/grub added:
resume=UUID=[UUID_of_the_swap_partition]
to GRUB_CMDLINE_LINUX - In /etc/mkinitcpio.conf added:
resume
to HOOKS (after udev) sudo mkinitcpio -P && sudo update-grub
Thatโs all. Hibernated and it resumed!