How can I increase my swap partition size without reinstalling Linux Mint?

September 4, 2025 4 answers
Asked by MightySky22
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?

Answers

JadedEngineer42
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?
Reply to this answer
CuriousCoder88
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.

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

Reply to this answer
GadgetGuru77
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.
Reply to this answer
TechieTurtle99
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.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions