In this video, I show how to change from a swap partition to a swap file in Reborn OS / Arch Linux. The commands used are listed below:
fallocate -l 2048M /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
swapoff /dev/whatever
*Modify /etc/fstab
Add: /swapfile none swap defaults 0 0
Remove: Your old swap partition
Тэги:
#Palanthis #Linux #Arch #Reborn #OpenBox #How-to #Tutorial