Linux Disable Swap: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:


=Disabling Swap During Installation=
=Disabling Swap During Installation=
Do not specify a swap device.


=Disabling Swap After Installation=
=Disabling Swap After Installation=

Revision as of 15:24, 29 June 2017

Internal

Disabling Swap During Installation

Do not specify a swap device.

Disabling Swap After Installation

swapoff -a

This command in effect edits /etc/fstab and removes the devices marked for swap.