I tried to enable swap according to this website: https://linuxize.com/post/create-a-linux-swap-file/
When I ran sudo swapon /swapfile
, it returned this error:
swapon: /swapfile: swapon failed: Function not implemented
It looks like CONFIG_SWAP is not enabled in the kernel you are using. Please enable it and try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With