Tue 06 Oct 2015 07:31:47 AM UTC, original submission:
I have grub2-2.02-0.23.fc23.x86_64 in Fedora 23.
To reproduce:
1. Install ckbcomp which is called by grub2-kbdcomp internally.
# dnf install console-setup
# rpm -q console-setup
console-setup-1.128-1.fc23.noarch
2. Create jp keyboard.
# mkdir /boot/grub2/layouts
# grub2-kbdcomp -o /boot/grub2/layouts/jp.gkb jp
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
3. Modify grub.cfg to enable jp keymap.
# diff -urNp /etc/default/grub.orig /etc/default/grub
--- /etc/default/grub.orig
+++ /etc/default/grub
@@ -3,5 +3,6 @@ GRUB_DISTRIBUTOR="$(sed 's, release .*$,
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
+GRUB_TERMINAL_INPUT="at_keyboard"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
# cat /boot/grub2/custom.cfg
insmod keylayouts
keymap jp
# grub2-mkconfig -o /boot/grub2/grub.cfg
# reboot
4. Enter 'e' to edit boot parameters in Grub console.
5. Append ' vga=ask 3' in vmlinuz boot line and press Ctrl+x to boot Fedora.
linux16 /boot/vmlinuz-4.2.0-300.fc23.x86_64 ... LANG=ja_JP.UTF-8 vga=ask 3
3. Try to press Enter key on VGA asking screen:
Press <ENTER> to see video modes available, <SPACE> to continue, or wait for 30 seconds
I cannot input Enter key.
This problem does not happen if I don't change the keymap.
If typing is changed to capital after '=' is typed, Shift can revert it.
|