...
Code Block | ||
---|---|---|
| ||
sudo dd if=/dev/zero of=/swapfile bs=1M count=17408 sudo mkswap /swapfile sudo chmod 600 /swapfile sudo swapon /swapfile |
Info | ||
---|---|---|
| ||
For please see BTRFS swapfile for information on creating a swapfile. |
Making swap persistent
Doing the above will simply create and enable our swap file. After a reboot our swap file won't be enabled.
...