Hello new to Garuda Linux and first just want to say thanks for making the distro. I have been enjoying my time on it quite a bit.
I really like the encrypted install script for Garuda as well that it uses full encryption thereby hiding your initramfs and kernel. I have installed my /boot/efi partiiton to a usb disk and my nvme drive is just two partitions (swap and root) which are of course both encrypted. This is good to prevent the 'evil maid attack', so if I leave my laptop somewhere I can just remove the usb drive from it and turn it off and there is no grub for them to attack.
It doesn't have the dual mfa that my Sakaki Gentoo install had with an encrypted key as it seems from /etc/cryptab that Garuda root contains the key. If this were encrypted and moved to /boot/efi then you would have your MFA and even with a keylogger you couldn't break in without having both the password and the key, but then again the whole thing is going a bit overboard anyway.
As a side not I noticed that LUKS1 is used which used to be required but I believe Grub now supports LUKS2 or at least I read so on:
https://www.phoronix.com/scan.php?page=news_item&px=GRUB-Boots-LUKS2-Disk-Encrypt
My problem currently is with grub , I have special characters in my encryption key which results me in entering my encryption key incorrectly sometimes when I forget its on US keymap, so since grub handles the first EFI boot loading before the initramfs kicks as that is in the encrypted root partition, I need to sort out GRUB's keymap not initramfs if that makes sense...
I have tried to do the following to change the keymap to UK keymap:
Change grub file on /etc/default/grub
from console to:
GRUB_TERMINAL_INPUT="at_keyboard"
Create a grub keyboard layout:
sudo grub-kbdcomp -o /boot/grub/layouts/gb.gkb gb
Add this to grub file /etc/grub.d/40_custom
:
insmod keylayouts
keymap $prefix/layouts/gb.gkb
Then update grub based on a forum post I found this command:
update-grub
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck update-grub
Then I verified the config generated.
This shows that the at_keyboard is in the grub.cfg so thats good:
λ sudo grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
I can see the keymap is reference as well:
λ sudo grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/gb.gkb
I can see the keymap exists as well:
λ ls -l /boot/grub/layouts/gb.gkb
.rw-r--r-- 2.6k root 30 Mar 23:35 /boot/grub/layouts/gb.gkb
λ sudo grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/gb.gkb
Yet my keymap seems to remain US, which isn't a problem really but I like to fix things. Anyone know what I'm doing wrong?
Again amazing work on the distro,looks great and I am using it as my daily driver and the KDE dragonized version as well, which is a change from i3.