GNU bug report logs - #60104
Hiccups installing GNU Guix 1.4.0rc2 system

Previous Next

Package: guix;

Reported by: "J. Sims" <jtsims <at> protonmail.com>

Date: Thu, 15 Dec 2022 21:25:01 UTC

Severity: normal

To reply to this bug, email your comments to 60104 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#60104; Package guix. (Thu, 15 Dec 2022 21:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "J. Sims" <jtsims <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 15 Dec 2022 21:25:01 GMT) Full text and rfc822 format available.

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

From: "J. Sims" <jtsims <at> protonmail.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Hiccups installing GNU Guix 1.4.0rc2 system
Date: Thu, 15 Dec 2022 21:24:19 +0000
[Message part 1 (text/plain, inline)]
Hey there,

I managed to successfully install the GNU Guix 1.4.0rc2 system iso on an HP Dev One laptop (with help from USB stuff for networking). Everything mostly went as expected, except after the installation I got a screen saying crypttab couldn't find a specific partition. I assume this was something left over from a previous OS installation since wiping the partitions with cfdisk and then installing worked fine. Note that while my initial install attempts did use encryption, the final (successful) one did not; I don't think this has any effect one way or the other on the viability of installation since I ran into the same issue both with and without an encrypted Guix installation before wiping the partitions.

Hopefully it should be simple enough to just completely rewrite the partition table during installation and sidestep this issue.

Thanks,
Juli
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#60104; Package guix. (Thu, 15 Dec 2022 22:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 60104 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "J. Sims" <jtsims <at> protonmail.com>
Cc: 60104 <at> debbugs.gnu.org
Subject: Re: bug#60104: Hiccups installing GNU Guix 1.4.0rc2 system
Date: Thu, 15 Dec 2022 23:51:28 +0100
Hi,

"J. Sims" <jtsims <at> protonmail.com> skribis:

> I managed to successfully install the GNU Guix 1.4.0rc2 system iso on
> an HP Dev One laptop (with help from USB stuff for
> networking). Everything mostly went as expected, except after the
> installation I got a screen saying crypttab couldn't find a specific
> partition.

What’s crypttab?  At which point exactly does this screen appears:
before GRUB, after GRUB, once the Linux kernel has booted?

> I assume this was something left over from a previous OS installation
> since wiping the partitions with cfdisk and then installing worked
> fine. Note that while my initial install attempts did use encryption,
> the final (successful) one did not; I don't think this has any effect
> one way or the other on the viability of installation since I ran into
> the same issue both with and without an encrypted Guix installation
> before wiping the partitions.

OK.

> Hopefully it should be simple enough to just completely rewrite the partition table during installation and sidestep this issue.

Normally the installer will rewrite the partition table, unless (I
think) you choose to keep things unchanged.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#60104; Package guix. (Fri, 16 Dec 2022 19:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 60104 <at> debbugs.gnu.org (full text, mbox):

From: "J. Sims" <jtsims <at> protonmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>,
 "60104 <at> debbugs.gnu.org" <60104 <at> debbugs.gnu.org>
Subject: Re: bug#60104: Hiccups installing GNU Guix 1.4.0rc2 system
Date: Fri, 16 Dec 2022 19:15:46 +0000
Hey,

Ludovic Courtès <ludo <at> gnu.org> wrote:

> What’s crypttab? At which point exactly does this screen appears:
> before GRUB, after GRUB, once the Linux kernel has booted?

crypttab is some part of the LUKS encryption stuff. This appears to be a manpage for it: https://www.man7.org/linux/man-pages/man5/crypttab.5.html

The screen appears before GRUB.

I forgot to mention that the UUID of the partition it was looking for did not exist on-disk after completing the Guix installation process. Given the above manpage, I assume this means the crypttab file used in the encryption process wasn't fully replaced. Perhaps the file in question is appended to with Guix data rather than overwritten? Or perhaps it's not used at all for the way Guix does encryption and just gets left behind?

> Normally the installer will rewrite the partition table, unless (I
> think) you choose to keep things unchanged.

Interesting... I did the full-disk guided installation method, so that should have done the trick, then.

This reminds me, I noticed that it didn't rewrite specifically the boot partition. When it showed the partition scheme at the end of the partitioning stage, it only showed it changing nvme0np2 (and nvme0np3 with encryption disabled - it only created swap with encryption disabled), while the boot was nvme0np1. After wiping the table, it showed all three.

Hopefully this helps.

Thanks,
Juli




Information forwarded to bug-guix <at> gnu.org:
bug#60104; Package guix. (Sat, 17 Dec 2022 12:02:01 GMT) Full text and rfc822 format available.

Message #14 received at 60104 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "J. Sims" <jtsims <at> protonmail.com>
Cc: "60104 <at> debbugs.gnu.org" <60104 <at> debbugs.gnu.org>
Subject: Re: bug#60104: Hiccups installing GNU Guix 1.4.0rc2 system
Date: Sat, 17 Dec 2022 13:01:13 +0100
Hi,

"J. Sims" <jtsims <at> protonmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> wrote:
>
>> What’s crypttab? At which point exactly does this screen appears:
>> before GRUB, after GRUB, once the Linux kernel has booted?
>
> crypttab is some part of the LUKS encryption stuff. This appears to be a manpage for it: https://www.man7.org/linux/man-pages/man5/crypttab.5.html

Oh OK; Guix system doesn’t use that file.

> The screen appears before GRUB.
>
> I forgot to mention that the UUID of the partition it was looking for did not exist on-disk after completing the Guix installation process. Given the above manpage, I assume this means the crypttab file used in the encryption process wasn't fully replaced. Perhaps the file in question is appended to with Guix data rather than overwritten? Or perhaps it's not used at all for the way Guix does encryption and just gets left behind?

‘guix system init’ and related commands error out if the config
specifies a file system UUID, a LUKS UUID, etc. that do not correspond
to an existing thing.  So it’s unlikely that you managed to install Guix
System with a wrong UUID; likewise, the graphical installer is unlikely
to generate a config file with an incorrect UUID.

So the problem may be elsewhere.

>> Normally the installer will rewrite the partition table, unless (I
>> think) you choose to keep things unchanged.
>
> Interesting... I did the full-disk guided installation method, so that should have done the trick, then.
>
> This reminds me, I noticed that it didn't rewrite specifically the boot partition. When it showed the partition scheme at the end of the partitioning stage, it only showed it changing nvme0np2 (and nvme0np3 with encryption disabled - it only created swap with encryption disabled), while the boot was nvme0np1. After wiping the table, it showed all three.

OK.

I’m afraid I’m not sure what happened.  :-/

If you grab more details from your investigations, please share them.

Thanks for reporting the issue!

Ludo’.




This bug report was last modified 1 year and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.