如何更改启动时的键盘布局(密码提示)?

Tho*_*mas 5 keyboard-layout

如何在启动期间永久更改密码提示的键盘布局?

krl*_*mlr 3

对我来说,只需设置KEYMAP=Y/etc/initramfs-tools/initramfs.conf可以了——我现在可以使用控制台的键盘映射来输入 LUKS 密码。

echo "KEYMAP=Y" | sudo tee -a /etc/initramfs-tools/initramfs.conf
update-initramfs -u
Run Code Online (Sandbox Code Playgroud)

来源:https://wiki.debian.org/Keyboard#Set_Keyboard_Layout_in_initramfs