Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am attempting to automate an install of the Ubuntu 12.10 LiveCD (on a USB). The Installer will do everything except automatically pick a keyboard layout. Below is the portion of my preseed3.cfg that should select the language and keyboard layout. Ubiquity will correctly install everything, It just requires that I choose a keyboard layout before it will proceed.

ubiquity    languagechooser/language-name   select  English
ubiquity    countrychooser/shortlist    select  US
ubiquity    time/zone   select  America/Los_Angeles
ubiquity    debian-installer/locale select  en_US.UTF-8
ubiquity    localechooser/supported-locales multiselect en_US.UTF-8
ubiquity    console-setup/ask_detect    boolean false
ubiquity    console-setup/layoutcode    string  us
ubiquity    console-setup/modelcode string  SKIP
ubiquity    keyboard-configuration/variant  select  English (US)
ubiquity    keyboard-configuration/layout   select  English (US)
ubiquity    keyboard-configuration/model    select  Generic 105-key (Intl) PC
ubiquity    console-keymaps-at/keymap   select  us
ubiquity    keyboard-configuration/xkb-keymap   select  us
console-setup   console-setup/layoutcode    string  us
console-setup   console-setup/layout    select  U.S. English
console-setup   console-setup/variantcode   select  U.S. English
console-setup   console-setup/codeset   select  . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic

Here is the portion of my menu which launches the installer and loads preseed3.cfg into the initrd.

label unattended
menu label ^Unattended Installation
kernel /casper/vmlinuz
append cdrom-detect/try-usb=true file=/cdrom/preseed/preseed3.seed boot=casper automatic-ubiquity initrd=/casper/initrd.lz quiet  splash noprompt  ---
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.