Choose your drive from top-right menu. As the GParted reactivates the swap partition upon launch, you will have to right-click the particular swap partition and click Swapoff -> This will be applied immediately. Delete the swap partition with right click -> Delete. You must apply the change now.
Is it safe to delete Linux swap partition?
Don’t delete it. A swapfile fills the same function on linux that a pagefile does in Windows. It serves as an extension of RAM. When the operating system decides that it doesn’t have enough room in RAM or that a particular piece of data is necessary but rarely accessed in RAM, it stores it to the pagefile/swapfile.
Can I delete swap file Linux?
The swap file name is removed so that it is no longer available for swapping. The file itself is not deleted. Edit the /etc/vfstab file and delete the entry for the swap file. … Or, if the swap space is on a separate slice and you are sure you will not need it again, make a new file system and mount the file system.