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.
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.

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 102 on Mon Oct 08, 2018 12:42 pm

Users browsing this forum: No registered users and 2 guests