The resume offset computed by the command in the article is incorrect for me and does not work.

sudo /sbin/filefrag -v /swapfile | head -n -3 | tail -n 1 | awk ' {print $3 }'
# ^ This is incorrect

The correct offset is found in the following article: https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Hibernation_into_swap_file

Aaditya Bagga 2018/08/02 06:12 (UTC)