Add to following to /etc/fstab
/dev/sda4 none swap defaults 0 0
/dev/sda4 none swap defaults 0 0
then make the swap file;
mkswap /dev/sda4
then activate;
swapon /dev/sda4
the following should tell us that swap is activated and running;
cat /proc/swaps
top should also show something other than 0
the above example uses /dev/sda4 as the swap partition.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.