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.



Re: URLs of substitutes

2023-09-14 Thread Christopher Baines

Roman Riabenko via  writes:

> Is it possible to get a URL for a substitute, for example for the Linux
> kernel?
>
> I am trying to troubleshoot connection to a substitute sever with my
> tunnel broker, which is slow for this server for some reason and
> eventually times out when running `guix system reconfigure
> /etc/config.scm`. I considered showing wget output to the technical
> support as an example but do not know how to find the URL.

The proper way to do this is to fetch the narinfo, and then get the URL
from that, but generally you can take the filename in the store, and
then add it on to https://bordeaux.guix.gnu.org/nar/lzip/ . For example:


→ guix build --no-grafts linux-libre
/gnu/store/1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-libre-6.4.12

→ wget 
https://bordeaux.guix.gnu.org/nar/lzip/1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-libre-6.4.12
--2023-09-14 10:03:11--  
https://bordeaux.guix.gnu.org/nar/lzip/1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-libre-6.4.12
Resolving bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)... 2a0c:e300::58, 
185.233.100.56
Connecting to bordeaux.guix.gnu.org 
(bordeaux.guix.gnu.org)|2a0c:e300::58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109569109 (104M) [text/plain]
Saving to: ‘1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-libre-6.4.12’

1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-l 
100%[===>]
 104.49M  3.06MB/sin 34s

2023-09-14 10:03:44 (3.12 MB/s) - 
‘1xw4p9gnvmnvvifw07y588i9w92gw7yl-linux-libre-6.4.12’ saved 
[109569109/109569109]


signature.asc
Description: PGP signature


URLs of substitutes

2023-09-14 Thread Roman Riabenko via
Hello

Is it possible to get a URL for a substitute, for example for the Linux
kernel?

I am trying to troubleshoot connection to a substitute sever with my
tunnel broker, which is slow for this server for some reason and
eventually times out when running `guix system reconfigure
/etc/config.scm`. I considered showing wget output to the technical
support as an example but do not know how to find the URL.

Roman


signature.asc
Description: This is a digitally signed message part