Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread Maxim Cournoyer
Hi!

Le 14 septembre 2023 12:41:53 GMT-04:00, David Lecompte  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



Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread David Lecompte
> > 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?





Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread Maxim Cournoyer
Hi!

Le 14 septembre 2023 09:09:58 GMT-04:00, David Lecompte  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



Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread David Lecompte


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



Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread Saku Laesvuori
> 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 ()
> -- 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/ 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.


signature.asc
Description: PGP signature


Encrypted install in VM stuck in GRUB

2023-09-14 Thread David Lecompte
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 ()
-- 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/ 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.