Search This Blog

Showing posts with label swap partition. Show all posts
Showing posts with label swap partition. Show all posts

Sunday, July 31, 2011

Add new partitions, logical volumes and swap to a system non-destructively

At first make a partition of type "linux swap" using fdisk. Suppose /dev/sdb2 is that partition.
then type
#mkswap /dev/sdb2
#swapon /dev/sdb2
#swapon -s
(this will show u all swap devices)