How to change from a swap partition to a swap file in Reborn OS / Arch Linux

How to change from a swap partition to a swap file in Reborn OS / Arch Linux

Palanthis

54 года назад

292 Просмотров

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
Ссылки и html тэги не поддерживаются


Комментарии: