Can the loader keyboard layout be configured?

It's easy to configure the console keyboard layout, e.g. for German with keymap="de.kbd" in /etc/rc.conf.

However, when I escape to the loader prompt during boot, I'm faced with a US layout. Typing pathnames and such becomes painful.
Is there some magic to change the keyboard layout at the loader prompt short of hacking getc() in src/stand/i386/common/cons.c?

If not, can I place some code or variable assignment in the EFI system partition (ESP) that does this?
 
This isn't a real solution but, I suppose if you really need this, you could try connecting an (extra) international/english USB keyboard.
 
Check the machines BIOS, see if it has a keyboard layout selector.

Here an example of a ThinkPad E15 AMD. A German keyboard layout is respected by the loader (loader.efi in this case), but character with diacritical marks ( Umlauts ä, ö, ü) and all AltGr characters are not printed. I suppose the loader has no UTF-8 support.

ThinkPad-BIOS-klayout.png
 
Back
Top