I’m using a German language keyboard, and on the GRUB2 unlock for LUKS2, it defaults to the US keyboard layout. Is there a way to change that? I found this for Ubuntu, not sure what the equivalent Fedora config files will be.
Also, would there be a nice way to add retries to the unlock? Again, I found this thread, is there a way to use it?
Okay, it seems like the AskUbuntu thread was bad advice. Replacing grub-kbdcomp with grub2-kbdcomp; /boot/grub with /boot/grub2 and update-grub with grub2-mkconfig -o /boot/grub2/grub.cfg, not only did the keymap change not work, the Grub menu (where one can choose different kernels) didn’t react to keystrokes anymore. This is even though I have a USB keyboard.
Thanks, it seems grub2-kbdcomp is just a wrapper for ckbcomp and grub2-mklayout. It does solve the problem of creating a layout, but I still have no idea how to get GRUB to use it safely.
I just looked – Sadly all mentions of keymap are missing from those docs. at_keyboard and usb_keyboard are mentioned, but none of the caveats around them.