Does LMDE require swap partition? [SOLVED]
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Does LMDE require swap partition? [SOLVED]
I just installed LMDE and checked the disk utility and noticed there is no swap partition. Is it required for this flavor of Mint?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Does LMDE require swap partition?
Let me say it like this, i have a swap partition but it seems like my system never uses swap. Do you have another distri with
swap installed? If yes, you can use it. You only need to edit your LMDE etc/fstab for that.
swap installed? If yes, you can use it. You only need to edit your LMDE etc/fstab for that.
Re: Does LMDE require swap partition?
Thats the great thing about magic there is always another way :
Debian, and Ubuntu have an incredibly convenient package that creates a swap file in any directory. Install with:
sudo apt-get install dphys-swapfile
The installation process with automatically create the swap file. Then just enable it with:
sudo swapon -a
Viola, a fully function swap file that is not on a separate partition.
Debian, and Ubuntu have an incredibly convenient package that creates a swap file in any directory. Install with:
sudo apt-get install dphys-swapfile
The installation process with automatically create the swap file. Then just enable it with:
sudo swapon -a
Viola, a fully function swap file that is not on a separate partition.
Re: Does LMDE require swap partition?
My experience has been that the installer never correctly finds the swap partition. I have to fix it after each install with a two step solution:
This will give you the uuid for each of your partitions, and hopefully you'll remember which one you set as swap.
Now you have to fix it in fstab. You'll probably find a swap entry in there already with an incorrect uuid specified. Edit and reboot.
HTH
Bob
ETA: No, you don't *have* to have a swap, but it's considered a real good idea.
Code: Select all
ls -l /dev/disk/by-uuid
Code: Select all
gksudo gedit /etc/fstab
HTH
Bob
ETA: No, you don't *have* to have a swap, but it's considered a real good idea.
Re: Does LMDE require swap partition?
Thanks for the info everyone.
How would I find out if swap is being used? Is there a command for the terminal that can show swap usage/history for current session?Gerd50 wrote:i have a swap partition but it seems like my system never uses swap.