How to create swap space
Create swap partition (This example uses IDE 2nd drive (/dev/hdb), 2nd partition). Use
n
command and make partition. Change ID to 82 by using
t
command
# fdisk /dev/hdb
Make swap space using
mkswap
# mkswap -c /dev/hdb2
Enable swap space
# swapon /dev/hdb2
Check swap space using free or top command
Edit /etc/fstab to enable next boot
... /dev/hdb2 swap swap default 0 0
Back
Web
www.grape-info.com