dd if=/dev/zero of=/mnt/extra.swap count=1024 bs=1048576 #(where 1048576 bytes = 1Mb)Now edit your /etc/fstab and add a the line:
sudo chmod 600 /mnt/extra.swap
sudo mkswap /mnt/extra.swap
/mnt/extra.swap none swap sw 0 0finaly activate the new swap file with:
swapon -a
Thanks for taking the time to do this for free
ReplyDelete