I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my preseed.cfg.
I got these options from the official Debian page: 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
Setting localization values will only work if you are using initrd preseeding. With all other methods the preseed file will only be loaded after these questions have been asked.
To get this working there are two options:
If you use build-simple-cdd then the parameters to skip language and keyboard questions are:
build-simple-cdd --keyboard us --locale en_US.UTF-8
The reason for that is that the pressed is loaded after setting these, just like @denny-crane said.
As far as I can see your preseed settings are correct.
Did you set priority=critical in the boot parameter? That will prevent the installer from asking any questions, except critical ones.
Also did you try to set console-setup/layoutcode=us in the boot parameter? I remember that would get rid of the last question about the keymap, it may help in your case.
Does your installer ask for the keyboard language?
We use the following language-related definitions in our preseed file, and the (standard PXEbooted) installer doesn't ask us anything about language.
When booting on the Ubuntu Installation device (CD or USB disk), the
syslinux
bootloader asks first for a language, before displaying the boot menu (that would eventually run a preseed file).In order to select automatically a language, you should
syslinux/langlist
file by removing the other languages.syslinux/syslinux.cfg
file, expressed in deci-seconds.Just figured out this one. The answer is the order is important. Put locale first then language. Change this
into this
In Ubuntu Server 14.04 I was able to get past the language selection list by creating a file named "lang" with one line "en" (for selecting English) in isolinux directory.