Booting Ubuntu Hardy unattendedly using preseed

Jurjen Bokma

August 2008


Ubuntu Hardy can be installed with preseeded answers according to Ubuntu Documentation (it can also be done using Kickstart). However, where they say To specify the keymap as a boot parameter, use console-setup/ask_detect=false console-setup/layoutcode=us. The layout code is an X layout name, as would be used in the XkbLayout option in /etc/X11/xorg.conf, it is worth noting that this particular preseeding must be done per kernel parameter.

[Note]Note

If you don't do this preseeding per kernel parameter, you end up with an Afghani console specified in /etc/default/console-setup.

[Note]Note

Even if you preseed console-setup console-setup/* in your preseed file, these values don't end up in the output of debconf-get-selections on the system being installed, and you still end up with an Afghani console.