我正在尝试编写一个preseed.cfg,它应该用于Debian的全自动安装。出于某些原因,安装程序仍然要求选择一个语言,即使我在我的preseed.cfg中设置了它。
我从官方Debian页面获得了以下选项:https://www.debian.org/releases/wheezy/example-preseed.txt
# Preseeding only locale sets language, country and locale.
d-i debian-installer/language string en
d-i debian-installer/country string DE
d-i debian-installer/locale string en_US.UTF-8
# Optionally specify additional locales to be generated.
d-i localechooser/supported-locales multiselect de_DE.UTF-8发布于 2015-04-19 09:56:11
只有在使用initrd预置时,才能设置本地化值。对于所有其他方法,只有在询问了这些问题之后才会加载预启动文件。
要使这一工作发挥作用,有两种选择:
发布于 2017-07-22 05:57:24
如果使用build cdd,则跳过语言和键盘问题的参数如下:
build-simple-cdd --keyboard us --locale en_US.UTF-8
原因是按压是在设置这些后加载的,就像丹尼-克雷恩说的那样。
发布于 2015-04-15 18:43:24
据我所知,你的预置设置是正确的。
您在引导参数中设置了priority=critical吗?这将阻止安装程序提出任何问题,但关键问题除外。
另外,您是否尝试在引导参数中设置console- set /layoutcode=us?我记得这将消除关于keymap的最后一个问题,它可能会对您的情况有所帮助。
https://serverfault.com/questions/682245
复制相似问题