james
asked Feb 09 2017
Answer
Swap partition can be removed by simply using the below command...
# swapoff -a
You can check the swap space simply using free command.
jagannatharumugam
asked Feb 12 2017
edited Oct 05 2018
swapoff
turns swap off. Use a partitioning tool (e.g. fdisk
, parted
, Gparted
...) if you want to delete it as well. Note that (re-)partionning always include risk.
tuk0z
asked Dec 19 2017
edited Oct 05 2018
How to delete the swap partition in linux
I need to delete the swap partition in my OS and am using Ubuntu-16.04 OS.... Which is the safest way to remove it..????