Adding a Swap Partition To a Running Slackware Linux System

Synopsis:

This is for a system that had a swap file created at install but for some reason
was never activated.

Symptom: kernel keeps killing off processes when you try to run larger binaries.


Directions:
1) Run cfdisk partion and record which partion is designated as the swap partition.

2) Type mkswap /dev/hda2 (the device listed in step 1). This creates the swap partition without
running the extensive sector test. To run that type mkswap /dev/hda2 -c.

3) Type swapon -a



Terra Firma Software Solutions, Inc.