Created
August 24, 2012 20:43
-
-
Save jverdeyen/3455403 to your computer and use it in GitHub Desktop.
Enable swap partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo fdisk -l | |
# choose swap partition id 82 ex. /dev/vda2 | |
sudo mkswap /dev/vda2 | |
sudo swapon /dev/vda2 | |
# verify | |
swapon -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment