Установить раскладку клавиатуры в Debian Wheezy с preseed

3432
phihag

Я хочу установить Debian автоматически. Я скопировал файл preseed примера в initrd и убедился, что он содержит

d-i keymap select us 

В системе установки, /var/log/syslogсодержит строку

successfully loaded preseed file from file:///preseed.cfg 

но я все еще вижу Configure the Keyboardдиалог. Как я могу сделать установку выбрать раскладку клавиатуры без участия пользователя?

5

3 ответа на вопрос

8
phihag

The example preseed file is wrong. You need to set the following option:

d-i keyboard-configuration/xkb-keymap select us 
Это также работало над Debian Stretch. Спасибо Ash Berlin-Taylor 6 лет назад 0
1
activedecay

Это была моя конфигурация для Ubuntu xenial; какая боль. Я нашел это здесь, так что благодаря этому пользователю GitHub

# Keyboard selection. d-i console-setup/ask_detect boolean false d-i keyboard-configuration/xkb-keymap select us d-i keyboard-configuration/layoutcode string us d-i keyboard-configuration/variantcode string 
0
Jeremy Herman

I had the same issue as you had. I had everything but the keyboard preseeded so that it would not prompt for anything during the installation. Your problem is that you actually need to add in the keyboard configuration into the append line in your menus file (may be named main depending on what you are doing). Also your keymap setting is correct. In debian keymap is an alias for keyboard-configuration/xkb-keymap.

Похожие вопросы