Thread
:
what is command to format a swap partiton?
View Single Post
ekul
2009-03-11 , 16:19
Posts: 30 | Thanked: 29 times | Joined on Aug 2008 @ Canada
#
2
to format a swap partition:
mkswap /dev/sda1
or whatever partition you want to format. To activate swap use the command:
swapon /dev/sda1
You can confirm it is working with the command free. To have it mount automatically add it /etc/fstab as:
/dev/sda1 none swap defaults 0 0
Quote & Reply
|
The Following User Says Thank You to ekul For This Useful Post:
jayden
ekul
View Public Profile
Send a private message to ekul
Find all posts by ekul