Dracut and non-standard keymap

This is just an information which might be useful for others as well.

I am using colemak keymap and when now having switched to dracut I wanted to be able to enter the LUKS passphrase using the colemak keymap.

I added /etc/vconsole.conf to \etc\dracut.conf.d/calamares-luks.conf like this

install_items+=" /etc/crypttab /etc/vconsole.conf "

and after rebuilding kernels things are fine now.


Thanks for sharing!

As a side note, I think it would be better to create a new conf file instead of modifying the one from calamares.

You could create /etc/dracut.conf.d/colemak.conf and have the contents be:

install_items+=" /etc/vconsole.conf "

Side note 2: I wonder if we should be doing that in the installer… :thinking:


For all of them?
There’s a lot…all kinds of dvorak’n’sheeeit :upside_down_face:

All that is changed from a dracut perspective is adding vconsole.conf to the initrd. In theory, that would just mean that whatever settings you put in it would carry into dracut.

1 Like

Thanks a lot for the tip using a new conf file.

I wasn’t sure this could be done. Will implement your suggestion.

1 Like