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

To reply to this bug, email your comments to 39288 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39288; Package guix. (Sun, 26 Jan 2020 11:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien <at> cassou.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 26 Jan 2020 11:43:02 GMT) Full text and rfc822 format available.

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

From: Damien Cassou <damien <at> cassou.me>
To: bug-guix <at> gnu.org
Subject: Wrong keyboard layout to decrypt hard drive
Date: Sun, 26 Jan 2020 12:41:54 +0100
Hi,

during graphical installation I chose to encrypt my hard drive and to
use the colemak keyboard layout. After the system rebooted, typing the
passphrase in colemak didn't work and I got dropped into rescue
mode. The rescue mode is in qwerty, not colemak.

Best,

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Information forwarded to bug-guix <at> gnu.org:
bug#39288; Package guix. (Sun, 26 Jan 2020 12:25:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 39288 <at> debbugs.gnu.org
Subject: Re: bug#39288: Wrong keyboard layout to decrypt hard drive
Date: Sun, 26 Jan 2020 13:24:11 +0100
[Message part 1 (text/plain, inline)]
Damien,

Damien Cassou 写道:
> during graphical installation I chose to encrypt my hard drive 
> and to
> use the colemak keyboard layout. After the system rebooted, 
> typing the
> passphrase in colemak didn't work and I got dropped into rescue
> mode. The rescue mode is in qwerty, not colemak.

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)))

The last time I tried adding this myself (granted: that was a year 
ago) it broke my GRUB, so today I still type my passphrase once in 
Qwerty and once in Dvorak.  Much secure!

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 26 Jan 2020 16:11:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#39288; Package guix. (Mon, 27 Jan 2020 21:41:02 GMT) Full text and rfc822 format available.

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’.




Merged 39288 39632. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 21 Feb 2020 14:02:01 GMT) Full text and rfc822 format available.

Changed bug title to 'Incorrect keyboard layout in GRUB stage1 to enter the LUKS passphrase' from 'Wrong keyboard layout to decrypt hard drive' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Apr 2020 15:21:03 GMT) Full text and rfc822 format available.

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

Previous Next


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