1

I have created swapfile at /swapfile and add following line to /etc/fstab (according to SwapFaq):

/swapfile                                 none            swap    sw  0  0

When I try to activate it with sudo swapon --all, everything is fine, but it does not activated after reboot, sudo swapon --show shows nothing. Again, activating it with sudo swapon --all works. What am I doing wrong? How to activate swap file on system start?

LLIax
  • 327

0 Answers0