I recently installed Linux Mint and created a swap partition that matches my RAM size of 12GB. However, it turns out that the available space in my swap partition is just a bit smaller than my RAM, which is preventing me from using hibernation. I don't want to go through the hassle of reinstalling everything since I've already set up my system. What options do I have to increase my swap space?
4 Answers
You might want to consider adding a swap file on top of your existing swap partition. It's a simple solution and gives you more flexibility.
You can also resize your swap partition using a tool like GParted. Boot from a live USB and you'll be able to adjust the size of your partitions safely.
If you're comfortable, you can also shrink your main partition a little and recreate your swap partition to have a larger size. Just remember to back up your data first! You don't want to lose anything during that process.
Just curious, but have you tried hibernating? I thought with 12GB of swap, that should be enough for you. Maybe check with `systemctl hibernate` and see what happens?

Thanks for the tips! I'll definitely back up my data before trying any resizing.