152******14
2018-05-25 05:41 deepin
https://bbs.deepin.org/post/133470交换分区
https://bbs.deepin.org/post/39614
看看能不能解决你的问题 英语不好,这是借助谷歌翻译看的。
https://bbs.deepin.org/post/39614
看看能不能解决你的问题 英语不好,这是借助谷歌翻译看的。
Reply Like 0 View the author
https://bbs.deepin.org/post/156953
https://bbs.deepin.org/post/133470#交换分区
https://bbs.deepin.or ...
https://bbs.deepin.org/post/156953
Many thanks in advance.
Can you translate the Chinese documents?
https://bbs.deepin.org/post/156953
Many thanks in advance.
Can you translate the Chinese documents?
Blogghete 发表于 2018-5-24 21:44
Many thanks in advance.
Can you translate the Chinese documents?
https://bbs.deepin.org/post/156953
Great, many thanks,
I hope that the next deepin release will include a default swap partition.
https://bbs.deepin.org/post/156953
本帖最后由 MeowSprite 于 2018-5-25 01:17 编辑
Try to use swap file instead of swap partition. Jus ...
https://bbs.deepin.org/post/156953
本帖最后由 MeowSprite 于 2018-5-25 01:17 编辑
Try to use swap file instead of swap partition. Jus ...
[SOLVED] How to create a swap partition after the installation of Linux (deepin)
I have installed deepin.
Because of the freezes of the operating system, I opted for a swap partition.
Can I create it?
And if yes, how to do it?
Many thanks in advance.
== SOLUTION ==
The solution is to create a swap file instead of a swap partition. It is very easy:
# create a swap file of 2GB (swap size)
sudo fallocate -l 2G /var/swapfile
# reset file permissions
sudo chmod 600 /var/swapfile
# activate the swap file (1 of 2)
sudo /sbin/mkswap /var/swapfile
# activate the swap file (2 of 2)
sudo swapon /var/swapfile
# edit the /etc/fstab file to add an entry for the swap file to activate swap file permanently
sudo gedit /etc/fstab
replace the similar existing row with the following:
/var/swapfile none swap defaults 0 0
Save the file.
the details of swap file information can be found in https://wiki.archlinux.org/index.php/Swap