When I get to the swapon command it fiels.
$ sudo swapon /swapfile swapon: /swapfile: swapon failed: Invalid argument
Docs should be fixed to tell people to use: sudo dd if=/dev/zero of=/swapfile count=4096 bs=1MiB instead of fallocate. Anyway another tutorial also says its bad idea to use swapfile for SSD systems
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!