[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: full netboot install with preseed



Quoting David A.Ulevitch (davidu@everydns.net):

> After an hour I am almost all the way there but I have one small issue 
> -- I can't get past the first "[!!] Choose Language" menu option.
> 
> I have added the following to my preseed file to no avail:
> base-config     debian-installer/country        string  US
> base-config     debian-installer/keymap string  us
> base-config     debian-installer/language       string  en_US:en
> 
> I also set "debconf/priority=critical" in the pxelinux.cfg/default file 
> which gets me through almost all menus but that one.


languagechooser is run before preseed so you definitely cannot preseed
it.

So, you need adding the following to the append line in you "default"
for in pxelinux.cfg for preseeding it to work:

languagechooser/language-name=French 

Be sure to choose the language *name* exactly as used in
languagechooser. This is the official ISO-639 English name for the
given language.

You can also preseed countrychooser (thought it is jumped over if you
use critical priority)

countrychooser/shortlist=FR 

Here, you must use the country ISO-3166 code...

You can also preseed the keyboard mapping that way:

console-keymaps-at/keymap=fr-latin9

(the value here is the .kmap file name)

Indeed, if your preseed file is hosted on a Web server, all things
that are run before netcfg cannot be preseeded with it, but only
through the kernel command line.

Be careful of not exceeding the number of parameters that can be
passed as kernel command-line arguments.

Post-sarge versions of d-i will try to simplify this, when
localechooser will replace language/country choosers (if the team
decides to do so). You'll be able to preseed all this with only one
variable.




Reply to: