如何添加Swap分区
Tofloor
poster avatar
sky139
deepin
2020-02-16 22:52
Author
用移动硬盘装的15.11 ,分区时没有选择分Swap分区,就是分了2个区。需要添加Swap分区么?怎么做?
Reply Favorite View the author
All Replies
avatar
186******05
deepin
2020-02-17 06:16
#1
其实不用真的去划一个分区,毕竟动分区表还是挺危险和麻烦的,可以参考  https://www.linuxuprising.com/2018/08/how-to-use-swap-file-instead-of-swap.html   配置一个交换分区文件。
Reply View the author
avatar
JesseyLawson
deepin
2020-02-17 17:14
#2
Reply View the author
avatar
zhangn1985
deepin
2020-02-18 01:23
#3
不需要,如果实在想搞一个swap,可以用zram或zswap。
zram有现成的方案: https://packages.ubuntu.com/xenial/all/zram-config/download
Reply View the author
avatar
2020-02-18 06:52
#4
你电脑啥配置呀还要搞个虚拟内存。配置不差的话没必要
Reply View the author
avatar
sky139
deepin
2020-02-18 21:54
#5
装在移动硬盘里面,方便到处走动使用https://bbs.deepin.org/user/21250
Reply View the author
avatar
china9494520
deepin
2020-02-18 23:00
#6
linux交换分区可以分为两个类型,一个是物理分区,一个是在现有的分区上面建立一个交换文件。如果你的内存大于4GB,用不用交换分区都可以的。
Reply View the author