How to add swap partition after installation in Linux?

view full story

http://lpilinux.com – To add a swap partition in hard disk /dev/hdb2, use the following steps: 1. If hard drive cannot be in use (partitions cannot be mounted, and the swap space cannot be enabled), then the easiest way to add swap partition is to boot the system in the rescue mode. Alternately, if the drive does not contain any partitions in use, partitions can be unmounted and all the swap space can be turned off on the hard drive with the swapoff command. 2. To create t (HowTos)