GNU bug report logs

#39288 Incorrect keyboard layout in GRUB stage1 to enter the LUKS passphrase

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#39288; Package guix. (Sun, 26 Jan 2020 11:43:02 GMT) (full text, mbox, link).


Acknowledgement sent to Damien Cassou <damien@cassou.me>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sun, 26 Jan 2020 11:43:02 GMT) (full text, mbox, link).


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

From: Damien Cassou <damien@cassou.me>
To: bug-guix@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@gnu.org:
bug#39288; Package guix. (Sun, 26 Jan 2020 12:25:01 GMT) (full text, mbox, link).


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

From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 39288@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@gnu.org> to control@debbugs.gnu.org. (Sun, 26 Jan 2020 16:11:01 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#39288; Package guix. (Mon, 27 Jan 2020 21:41:02 GMT) (full text, mbox, link).


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

From: Ludovic Courtès <ludo@gnu.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 39288@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@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@gnu.org> to control@debbugs.gnu.org. (Fri, 21 Feb 2020 14:02:01 GMT) (full text, mbox, link).


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@gnu.org> to control@debbugs.gnu.org. (Fri, 03 Apr 2020 15:21:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Fri Apr 18 11:14:16 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.