On Wed, 16 Dec 2015 11:04+0100, Carsten Kunze wrote:

> Hello,
> 
> according to the boot messages the keymap is set after decryption of 
> file systems.  I consider this as a bug.  The geli decryption script 
> asks for the passphrase which can't of course be input if the kaymap 
> is not set.
> 
> Handbook §17.12 does not mention the keymap setup.  What can I do to 
> make this work?  (Of course I can call e.g. kbdmap in 
> /etc/rc.d/geli, but this is kind of tinkering.)

I guess we who live outside the US should take into account that PCs 
are initialised by firmware to the US keyboard layout and the 437 code 
page, courtesy of IBM, 1981.

I'm not sure if the creators of (U)EFI has considered other keyboard 
layouts and/or code pages at boot time.

A bad workaround is to copy the suitable keymap from /usr/share... to 
/etc, along with /usr/sbin/kbdcontrol, and add a suitable line to one 
or either of /etc/rc.d/geli{,2}, e.g.:

/etc/kbdcontrol -l /etc/german.iso.kbd

kbdcontrol is linked only to libc:

$ ldd `which kbdcontrol`
/usr/sbin/kbdcontrol:
        libc.so.7 => /lib/libc.so.7 (0x800827000)

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to