My disk (except for /boot) is encrypted using LUKS; I use a non-US keyboard layout.
Up until last Friday, I could unlock my disk using my preferred keyboard layout, but today I can’t and the keyboard uses US layout. What happened? From my understanding, this is either from me going from Linux 7.0 to 7.1, or the updates to package base. Also, how can I see what layout my keyboard has when I unlock my disk, the best way I found was to open the GRUB console?
The grub efi stub located in /EFI/boot/bootx64.efi and /EFI/Manjaro/grubx64.efi uses US keymap and has always done so.
It is possible to change keymap - but it is a manual process - and it may create other issues ad-hoc - e.g. the customised image get’s overwritten by an update process.
when using full disk encryption
There is various other (better) options to have the same keymap in init as is configured in /etc/vconsole.
It that doesn’t do it - you can use unified kernel image (UKI) instead - keeping the changes to mkinitcpio.conf and configure UKI in /etc/mkinitcpio.d/<kernel>.preset file.
My personal setup is using a kernel EFI loader and either refind or loading directly from efi firmware (efibootmgr)