Can I safely resize swap partition?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Can I safely resize swap partition?

Post by MagnusB »

Yes, but you must remember to change the UUID to the device name in /etc/fstab, so you don't end up in UUID hell..
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
Nathan_S

Re: Can I safely resize swap partition?

Post by Nathan_S »

I have 4GB ram on my system and use 2GB Swap, Elyssa crashes several times in one session, should I increase Swap size ? If so, What is UUID of device name that I should change, and how I do that ?
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Can I safely resize swap partition?

Post by MagnusB »

Nathan_S wrote:I have 4GB ram on my system and use 2GB Swap, Elyssa crashes several times in one session, should I increase Swap size ? If so, What is UUID of device name that I should change, and how I do that ?
You should not increase it, if anything you should make it smaller. The total of swap and RAM shouldn't exceed 4GB, and since the kernel expect to find a swap space, just make it a couple of MB, just to keep the kernel happy.

As for the freezing issue, make a separate topic about that, preferably include your graphic card (many freeze ups is related to proprietary drivers) WLAN card, and what you are doing when the computer freeze.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
Locked

Return to “Beginner Questions”