Hibernate with a swap file [SOLVED]
I followed this guide but it didn't work.
filefrag -v /swapfile | awk 'NR==4 {print $4}' | tr -d .
15820800
I put that on /etc/default/grub and I ran "grub-mkconfig -o /boot/grub/grub.cfg".
How can you hibernate?
I used loginctl command. After it booted as after a normal shutdown.
I didn't see the pm-utils package.
I use dinit.