unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Encrypted install in VM stuck in GRUB
@ 2023-09-13 17:42 David Lecompte
  2023-09-14 11:59 ` Saku Laesvuori
  0 siblings, 1 reply; 6+ messages in thread
From: David Lecompte @ 2023-09-13 17:42 UTC (permalink / raw)
  To: help-guix

Hi all,

I installed guix in an x86 virtual machine, using the 1.4 installer. I
selected the guided partitioning option with encryption, so everything was
done by the installer.

When the installation is finished and the virtual machine reboots, I have 

-- copy start --
Booting from Hard Disk...
GRUB loading..
Welcome to GRUB!

Attempting to decypt master key...
Enter passphrase for hd0,gpt2 (<some hexa>)
-- copy end --

Then I type the passphrase (I was very careful that the focus is in the vm
screen and to not make any mistake, and I did the same twice) and I have

-- copy start --
error: access denied.
error: no such cryptodisk found.
error: disk 'cryptoduuid/<the same hexa> not found
Entering rescue mode...
grub rescue>
-- copy end --

I have setup the keyboard to use French azerty layout in the installer, then
I was expecting my keyboard layout to be that one when typing the
passphrase. If it is not so, then I typed a wrong password but in other
distros, the message I got when typing a wrong password is pretty different,
so maybe this is not the problem.

Is the encrypted disk option working ok in the installer?

Thanks,
David.


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

* Re: Encrypted install in VM stuck in GRUB
  2023-09-13 17:42 Encrypted install in VM stuck in GRUB David Lecompte
@ 2023-09-14 11:59 ` Saku Laesvuori
  2023-09-14 13:09   ` David Lecompte
  0 siblings, 1 reply; 6+ messages in thread
From: Saku Laesvuori @ 2023-09-14 11:59 UTC (permalink / raw)
  To: David Lecompte; +Cc: help-guix

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

> Hi all,
> 
> I installed guix in an x86 virtual machine, using the 1.4 installer. I
> selected the guided partitioning option with encryption, so everything was
> done by the installer.
> 
> When the installation is finished and the virtual machine reboots, I have 
> 
> -- copy start --
> Booting from Hard Disk...
> GRUB loading..
> Welcome to GRUB!
> 
> Attempting to decypt master key...
> Enter passphrase for hd0,gpt2 (<some hexa>)
> -- copy end --
> 
> Then I type the passphrase (I was very careful that the focus is in the vm
> screen and to not make any mistake, and I did the same twice) and I have
> 
> -- copy start --
> error: access denied.
> error: no such cryptodisk found.
> error: disk 'cryptoduuid/<the same hexa> not found
> Entering rescue mode...
> grub rescue>
> -- copy end --
> 
> I have setup the keyboard to use French azerty layout in the installer, then
> I was expecting my keyboard layout to be that one when typing the
> passphrase. If it is not so, then I typed a wrong password but in other
> distros, the message I got when typing a wrong password is pretty different,
> so maybe this is not the problem.

That is the same error message I get after mistyping my password. I'm
also quite sure the layout is US qwerty before unlocking the encryption
regardless of any keyboard layouts defined in the system configuration.

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

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

* Re: Encrypted install in VM stuck in GRUB
  2023-09-14 11:59 ` Saku Laesvuori
@ 2023-09-14 13:09   ` David Lecompte
  2023-09-14 13:42     ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: David Lecompte @ 2023-09-14 13:09 UTC (permalink / raw)
  To: Saku Laesvuori; +Cc: help-guix


> That is the same error message I get after mistyping my password. I'm
> also quite sure the layout is US qwerty before unlocking the encryption
> regardless of any keyboard layouts defined in the system configuration.

Thanks, I can confirm that it works if I am assuming US qwerty layout!

Now, I need to find out how to change that, and also to make it so that I
can retype the passphrase without going to a grub rescue prompt.


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

* Re: Encrypted install in VM stuck in GRUB
  2023-09-14 13:09   ` David Lecompte
@ 2023-09-14 13:42     ` Maxim Cournoyer
  2023-09-14 16:41       ` David Lecompte
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2023-09-14 13:42 UTC (permalink / raw)
  To: help-guix, David Lecompte, Saku Laesvuori

Hi!

Le 14 septembre 2023 09:09:58 GMT-04:00, David Lecompte <guix@metani.eu> a écrit :
>
>> That is the same error message I get after mistyping my password. I'm
>> also quite sure the layout is US qwerty before unlocking the encryption
>> regardless of any keyboard layouts defined in the system configuration.
>
>Thanks, I can confirm that it works if I am assuming US qwerty layout!
>
>Now, I need to find out how to change that, and also to make it so that I
>can retype the passphrase without going to a grub rescue prompt.

We could track this as two separated Guix bugs, if they haven't already been reported. I agree the user experience for decrypting the disks leaves much to be desired.

Maxim


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

* Re: Encrypted install in VM stuck in GRUB
  2023-09-14 13:42     ` Maxim Cournoyer
@ 2023-09-14 16:41       ` David Lecompte
  2023-09-14 17:55         ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: David Lecompte @ 2023-09-14 16:41 UTC (permalink / raw)
  To: Maxim Cournoyer, help-guix, Saku Laesvuori

> > Now, I need to find out how to change [the keyboard layout to type the
> > passphrase in GRUB], and also to make it so that I can retype the
> > passphrase without going to a grub rescue prompt.
> 
> We could track this as two separated Guix bugs, if they haven't already
> been reported. 

I found https://issues.guix.gnu.org/39632 for the keyboard layout issue for
the decryption passphrase in grub and also https://issues.guix.gnu.org/49435
which is making a suggestion about how to address it.

I could not find any existing issue for being able to retype the decryption
passphrase in grub without going to the grub rescue prompt. Should I send an
email to bug-guix for that?




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

* Re: Encrypted install in VM stuck in GRUB
  2023-09-14 16:41       ` David Lecompte
@ 2023-09-14 17:55         ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-09-14 17:55 UTC (permalink / raw)
  To: David Lecompte, help-guix, Saku Laesvuori

Hi!

Le 14 septembre 2023 12:41:53 GMT-04:00, David Lecompte <guix@metani.eu> a écrit :
>> > Now, I need to find out how to change [the keyboard layout to type the
>> > passphrase in GRUB], and also to make it so that I can retype the
>> > passphrase without going to a grub rescue prompt.
>> 
>> We could track this as two separated Guix bugs, if they haven't already
>> been reported. 
>
>I found https://issues.guix.gnu.org/39632 for the keyboard layout issue for
>the decryption passphrase in grub and also https://issues.guix.gnu.org/49435
>which is making a suggestion about how to address it.
>
>I could not find any existing issue for being able to retype the decryption
>passphrase in grub without going to the grub rescue prompt. Should I send an
>email to bug-guix for that?

Thanks for researching passed issues! Yes, please ooen a newly issue for the decryption passphrase retry. Maybe such an issue also exists in the GRUB bug tracker; if so we can cross-reference them

Maxim


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

end of thread, other threads:[~2023-09-14 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 17:42 Encrypted install in VM stuck in GRUB David Lecompte
2023-09-14 11:59 ` Saku Laesvuori
2023-09-14 13:09   ` David Lecompte
2023-09-14 13:42     ` Maxim Cournoyer
2023-09-14 16:41       ` David Lecompte
2023-09-14 17:55         ` Maxim Cournoyer

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