Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,InstallNET.sh可以去掉swap吗 #10

Open
BrunuhVille opened this issue Dec 12, 2021 · 2 comments
Open

大佬,InstallNET.sh可以去掉swap吗 #10

BrunuhVille opened this issue Dec 12, 2021 · 2 comments

Comments

@BrunuhVille
Copy link

InstallNET.sh安装系统,会自带1g的swap,但是有的小鸡硬盘一般,就拖累性能了
想请求大佬去掉这个自带swap的设置,或者是带参数可选加不加swap
感谢大佬了!

@sunpma
Copy link

sunpma commented Jan 29, 2022

这个可以用,每次重装后都要手动删除swap

@Colinwood11
Copy link

网上能找到相关信息。

脚本里搜索 d-i partman-auto/choose_recipe select All files in one partition (recommended for new users)
删除并且替换为

d-i partman-basicfilesystems/no_swap boolean false
d-i partman-auto/expert_recipe string myroot :: 1000 50 -1 ext4 \
     $primary{ } $bootable{ } method{ format } \
     format{ } use_filesystem{ } filesystem{ ext4 } \
     mountpoint{ / } \
    .
d-i partman-auto/choose_recipe select myroot

即可
参考链接 https://superuser.com/questions/458672/ubuntu-preseed-use-whole-disk-space-but-no-swap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants