GNU bug report logs - #39288
Incorrect keyboard layout in GRUB stage1 to enter the LUKS passphrase

Previous Next

Package: guix;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Sun, 26 Jan 2020 11:43:02 UTC

Severity: important

Merged with 39632

Full log


Message #13 received at 39288 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 39288 <at> debbugs.gnu.org
Subject: Re: bug#39288: Wrong keyboard layout to decrypt hard drive
Date: Mon, 27 Jan 2020 22:39:51 +0100
Hi,

Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:

> Could you check whether your system configuration's
> bootloader-configuration actually contains a keyboard-layout field?
>
>       (bootloader (bootloader-configuration
>                     (bootloader grub-efi-bootloader)
>                     (target "/boot/efi")
>       -->           (keyboard-layout keyboard-layout)))

I've heard people using the French keyboard layout like this and having
an encrypted root say that GRUB (stage1) would indeed ignore the chosen
keyboard layout.  (I believe GRUB stage2, where the menu and command
line editing features are present, works fine, but that’s after the
passphrase has been entered.)

A quick search yields:

  https://superuser.com/questions/974833/change-the-keyboard-layout-of-grub-in-stage-1

… which suggests using ‘grub-mkstandalone’ (which is undocumented but
looks like a tiny superset of ‘grub-install’) and explicitly adding the
keyboard layout file to the on the command line.  Should we do that?

Problem is, ‘install-grub-efi’ isn’t passed the configuration.

Thanks,
Ludo’.




This bug report was last modified 5 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.