You are not logged in.
Pages: 1
Hi guys,
I have Arch set up as a Postgre and SonarQube server and so far everything works well.
Now I decided to use the linux-lts instead of the linux kernel. Changing this was also no problem.
The keymap is specified in vconsole.conf:
KEYMAP=de-latin1-nodeadkeysHowever, I noticed that when I boot into the linux-lts image, they keymap is not loaded. When I log in and run loadkeys I can work with the exact same keymap.
localctl set-keymap de-latin1-nodeadkeys has no effect.
When I boot into the linux-lts fallback image it does load the keymap automatically.
It also used to load the keymap when booting linux instead of linux-lts.
Did anybody notice the same behavior? Any idea how to fix this?
Thanks in advance!
Last edited by gerald82 (2017-11-11 18:56:54)
Offline
Maybe these commands can help you:
$ mkinitcpio -H keyboard
==> Help for hook 'keyboard':
This hook loads the necessary modules for keyboard devices. As a side-effect
modules for some non-keyboard input devices might also be added, but this should
not be relied on. Detection will take place at runtime. To minimize the modules
in the image, add the autodetect hook prior to this hook.$ mkinitcpio -H sd-vconsole
==> Help for hook 'sd-vconsole':
This hook adds the keymap(s) and font specified in vconsole.conf to the image and
loads them during early userspace.$ grep -v '^#' /etc/mkinitcpio.conf
MODULES=(i915)
BINARIES=()
FILES=()
HOOKS=(base systemd autodetect modconf block filesystems keyboard sd-vconsole fsck)Last edited by berbae (2017-11-11 14:42:06)
Offline
Thank you berbae.
The sd-vconsole hook was not enabled.
What puzzles me a bit is that it worked with the fallback image.
Anyway, for follow up readers who encounter this problem: I added the sd-vconsole hook in /etc/mkinitcpio.conf.
Then mkinitcptio gave me an error, I had to add a systemd hook as well (see this post).
Now it works.
Offline
If you do not want to use the systemd hook the keymap hook should provide the same functionality when the systemd hook is not used see Mkinitcpio#Runtime_hooks
Offline
Pages: 1