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

0
53
Asked By MightySky22 On

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

Answered By TechieTurtle99 On

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.

Answered By GadgetGuru77 On

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.

Answered By CuriousCoder88 On

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.

Answered By JadedEngineer42 On

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?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.