Linux Lite Forums
Turn off swap permanently - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: Turn off swap permanently (/showthread.php?tid=4358)



Turn off swap permanently - T1125P - 08-18-2017

Hi all, I would like to turn off my swap permanently. I'm using an SSD and have more than enough RAM. Using /etc/fstab which line do I delete?
10 and 11 or just 11? Pic of my swap partition:
https://ibb.co/dFcBGk


Thanks ^_^


Re: Turn off swap permanently - T1125P - 09-01-2017

Sorry to bump this but, I  want to be sure I don't delete the wrong line and it won't boot up again Big Grin


Re: Turn off swap permanently - Scott(0) - 09-01-2017


Hello T1125P


In this case you don't need to delete, just put a hash character "#" in front of line 11, save and reboot.


Re: Turn off swap permanently - T1125P - 09-02-2017

Thanks so much Scott I will do that now Smile


Re: Turn off swap permanently - torreydale - 09-05-2017

I just got a "new to me" laptop as a gratitude gift from a coworker.  It has a 120GB SSD and 4 GB of RAM.  Since the SSD isn't that large, I questioned whether I should run a SWAP partition.  But I've heard that you need SWAP in order to Hibernate/Sleep successfully.  I did create a 4GB SWAP partition, and I've never had Hibernate/Sleep work so well.  The computer is a Lenovo Thinkpad x250.