Remove swap partition

I’ve read that swap is not good for ssds. I have excess ram and would like to remove the swap space. I followed the instructions from an Ubuntu forum to remove it (using LUKS) but when I tried it on Silverblue my system would still look for it during startup. I had commented out the line in /etc/fstab. Is there a different way to remove it in Silverblue? Am I wasting my time trying to do this?

Rather than removing swap, it might be a better idea to reduce swapiness if you’re concerned about unwanted wear on your SSD.


This is perfect. Thanks!