Page 1 of 1

Swap in Debian kernel...

Posted: Tue Oct 04, 2016 4:14 pm
by ejolson
Swap is currently disabled in the default Debian kernel. Is it easy to enable it, or is it disabled because it doesn't work?

Re: Swap in Debian kernel...

Posted: Tue Oct 04, 2016 6:09 pm
by davef
Try <swap debian> on the old forum.

Re: Swap in Debian kernel...

Posted: Sun Oct 09, 2016 10:34 am
by jjm
Hi,
dd if=/dev/zero of=/var/swapfile bs=1M count=128
chmod 0600 /var/swapfile
mkswap /var/swapfile
swapon -f /var/swapfile
1. Using the above commands can create a 128M size file as swap,you can change the size with the first command,after that you can use free command to check whether uses swap.

2. You should use the kernel which have opened to replace the SD card‘s, then you can type the above commands.