unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39288: Wrong keyboard layout to decrypt hard drive
@ 2020-01-26 11:41 Damien Cassou
  2020-01-26 12:24 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Cassou @ 2020-01-26 11:41 UTC (permalink / raw)
  To: 39288

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39288: Wrong keyboard layout to decrypt hard drive
  2020-01-26 11:41 bug#39288: Wrong keyboard layout to decrypt hard drive Damien Cassou
@ 2020-01-26 12:24 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-01-27 21:39   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-01-26 12:24 UTC (permalink / raw)
  To: 39288

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39288: Wrong keyboard layout to decrypt hard drive
  2020-01-26 12:24 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-01-27 21:39   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-01-27 21:39 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 39288

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-27 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 11:41 bug#39288: Wrong keyboard layout to decrypt hard drive Damien Cassou
2020-01-26 12:24 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-27 21:39   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).