Power & Source of Big Ideas

Swap in Debian kernel...

Moderators: chensy, FATechsupport

Swap is currently disabled in the default Debian kernel. Is it easy to enable it, or is it disabled because it doesn't work?
Try <swap debian> on the old forum.
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.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 1 guest