0

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..????

james
asked Feb 9, 2017
2 Answer
0

Swap partition can be removed by simply using the below command...

# swapoff -a

You can check the swap space simply using free command.

View More
jagannatharumugam
answered Feb 12, 2017
0

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.

View More
tuk0z
answered Dec 19, 2017
Your Answer
||||
x
 
100:0