mirror of
https://github.com/bin456789/reinstall.git
synced 2026-03-12 11:48:11 +08:00
更新 debian.cfg
This commit is contained in:
parent
b32aa76af5
commit
950aa895e0
27
debian.cfg
27
debian.cfg
@ -36,18 +36,27 @@ d-i passwd/root-login boolean true
|
||||
d-i time/zone string Asia/Shanghai
|
||||
|
||||
# B.4.7. 分区
|
||||
# 使用 /dev/sda 磁盘 (请根据实际情况修改)
|
||||
d-i partman-auto/disk string /dev/sda
|
||||
# 使用标准分区方法
|
||||
d-i partman-auto/method string regular
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-auto/expert_recipe string \
|
||||
boot-root :: \
|
||||
5120 1 112640 ext4 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
.
|
||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||
d-i partman-auto/init_automatically_everything boolean true
|
||||
# 专家级分区配方
|
||||
d-i partman-auto/expert_recipe string \
|
||||
boot-root :: \
|
||||
5120 1 112640 ext4 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
.
|
||||
# 确认分区更改
|
||||
d-i partman-partitioning/confirm_write_changes boolean true
|
||||
# 自动完成分区
|
||||
d-i partman-partitioning/confirm boolean true
|
||||
# d-i partman-partitioning/confirm_write_new_label boolean true
|
||||
d-i partman/choose_partition select finish
|
||||
d-i partman/confirm boolean true
|
||||
d-i partman/confirm_nooverwrite boolean false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user