I have laptop with 8 GB RAM and 1TB HDD. I have swapfile which is 2 GB (Ubuntu 18.04 uses a swapfile instead of a separate swap partition by default) and I want to increase it to use hibernation.
I want to increase it from 2 GB to 16 GB. Here is a screenshot of GParted:
I tried to increase it with
fallocate -l 16G but it did not work.
Also there is the image from