@the_beast48 Yes, using a swap file is not that easy for a newbie:
but when using a swap partition, it is pretty straight forward.
- Create a partition, format it as swap and activate it plus add it to fstab.
- For hibernation add:
resume=UUID=<place-UUID-of-swap-partition-here-without-"><">
to the kernel parameters at /etc/default/grub and run sudo update-grub
on the terminal and add:
resume
to the HOOKS at /etc/mkinitcpio.conf and run sudo mkinitcpio -P
.
Done. That are the basic steps. Now reboot and test it: systemctl hibernate