unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "J. Sims" <jtsims@protonmail.com>
Cc: "60104@debbugs.gnu.org" <60104@debbugs.gnu.org>
Subject: bug#60104: Hiccups installing GNU Guix 1.4.0rc2 system
Date: Sat, 17 Dec 2022 13:01:13 +0100	[thread overview]
Message-ID: <875yeai6ie.fsf@gnu.org> (raw)
In-Reply-To: <lefLHY2vYpY59XPoXBfXbI-zguyFjxAu9qP_XyV9kQe1pSrRNlrwG2NN6AsLjS7ApJWvowP_0tZqx7S64GuOgHso2TYJ_obHqevjcDJsOsc=@protonmail.com> (J. Sims's message of "Fri, 16 Dec 2022 19:15:46 +0000")

Hi,

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

> Ludovic Courtès <ludo@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’.




      reply	other threads:[~2022-12-17 12:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 21:24 bug#60104: Hiccups installing GNU Guix 1.4.0rc2 system J. Sims via Bug reports for GNU Guix
2022-12-15 22:51 ` Ludovic Courtès
2022-12-16 19:15   ` J. Sims via Bug reports for GNU Guix
2022-12-17 12:01     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yeai6ie.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=60104@debbugs.gnu.org \
    --cc=jtsims@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).