Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] Tumbleweed full disk encryption passphrase
22.05.2018 22:22, Frank Kunz пишет:
Am 22.05.2018 um 21:05 schrieb Andrei Borzenkov:
22.05.2018 21:56, Frank Kunz пишет:
Am 19.05.2018 um 06:46 schrieb Andrei Borzenkov:
19.05.2018 00:00, Frank Kunz пишет:

The other problem is the different keyboard layout. For this I found
some older instruction [2] for grub to load a specific keyboard layout
in early stage before access the disk, but it is stated that this is not
possible for grub2 (links the opensuse113 docu).

grub2 supports custom keyboard maps only for USB keyboard (it has own
driver for it). For legacy BIOS or EFI it is currently whatever
character firmware returns.

Unfortunately this seems not to work in grub2 early stage

What is "this"?

means using the usb_keyboard driver by

modify /etc/default/grub by adding:
GRUB_PRELOAD_MODULES="usb usb_keyboard ehci ohci uhci"

comment out GRUB_TERMINAL="gfxterm" (due to

append to /etc/grub.d/40_custom:
insmod keylayouts
keymap /boot/grub2/keyb_de.gkb

generate the keymap:
grub2-kbdcomp -o /boot/grub2/keyb_de.gkb de

then run

but the keyboard layout for the passphrase is still US.

Yes, modules can be preloaded but layout file is still missing (and
adding it to grub.cfg is anyway too late). This can be worked around by
using grub2-mkstandalone to add internal memory disk with layout file
and modifying embedded config to explicitly point to memdisk location to
load layout file. But that of course cannot be integrated into
update-bootloader currently.
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >