Disable swap
If you have GParted open, close it. Its Swapoff feature does not appear to to be permanent.
Open terminal and become root (su); if you have sudo enabled, you may also do for example sudo -i; see man sudo for all options):
sudo -i (Or use sudo for each command)
Turn off the particular swap partition and / or all of the swaps:
swapoff --all
Make 100% sure the particular swap partition partition is off:
cat /proc/swaps
Open a text editor you are skilled in with this file, e.g. nano if unsure:
nano /etc/fstab
Comment out / remove the swap partition's UUID, e.g.:
# UUID=1d3c29bb-d730-4ad0-a659-45b25f60c37d none swap sw 0 0
Open a text editor you are skilled in with this file, e.g. nano if unsure:
nano /etc/initramfs-tools/conf.d/resume
Comment out / remove / change with 'none' the previously identified swap partition's UUID, e.g.:
RESUME=none
If your swap is encrypted, do the same with /etc/crypttab.
No Comments