Search This Blog

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)