To add swap space do the following:

 1. Use fdisk to create a partition of a suitable size (the t option of fdisk
    can be used to alter the partition type to swap, type is 82 for swap)
 2. Use the mkswap command to initialise the swap
 3. The swap can then be activated using the swapon command

Recent Changes