all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: David Wilson <david@daviwil.com>
Cc: 44872@debbugs.gnu.org
Subject: bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID
Date: Sat, 12 Jun 2021 09:49:00 +0200	[thread overview]
Message-ID: <87pmwred5f.fsf@gnu.org> (raw)
In-Reply-To: <875yyn6l9d.fsf@daviwil.com> (David Wilson's message of "Wed, 09 Jun 2021 09:44:14 -0700")


Hello David,

>> I'm using manual partitioning with the first partition mounted as the
>> ESP partition and the sixth partition as the root directory.

My issue here is that those partitions were never formatted. The
read-partition-uuid method returns #f on unformatted partitions, causing
the installer crash.

I fixed this issue with f5d9d6ec68f78f5651bd5a698f489ab57bf77d5d. The
rationale is that any partition that will be mounted and not formatted
("Format the partition? No) must have a valid UUID. The installer
now prevents going further if this is not the case.

That said, I think you are experiencing a different issue. The REPL
commands you ran show that your nvme0n1p1 and nvme0n1p6 partitions have
valid UUIDs.

That's why I also pushed this commit:
1a0a18d0ccc6cb6c7f4e42a0d659340f13b206c5 that prints in the syslog the
internal <user-partitions> list, hoping that it will help us understand
what's going on.

It would be great if you could build a new installer image on top of
master, try reproducing the crash and attach the content of the
"/var/log/messages" file. You can for instance scp it to another machine
of your local network running an SSH server.

I'm not sure if you are aware of this feature, but generating
uncompressed ISO9660 image is a serious time saver when debugging the
installer:

--8<---------------cut here---------------start------------->8---
guix system image -t uncompressed-iso9660 gnu/system/install.scm
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




  reply	other threads:[~2021-06-12  7:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <300530410.943064.1606325189191.ref@mail.yahoo.com>
2020-11-25 17:26 ` bug#44872: GuixSD 1.2.0 installer fails with exception when formatting drive Tim Magee
2020-11-26  8:58   ` Mathieu Othacehe
     [not found]     ` <304538163.1205868.1606443556649@mail.yahoo.com>
2020-11-27  3:12       ` bug#44872: Fw: " Tim Magee
2020-11-28  5:27     ` Tim Magee
2020-12-01  9:46       ` Mathieu Othacehe
2020-11-29 19:02   ` andi
2020-12-22  2:13   ` Tim Magee via web
2021-04-22 14:48   ` Ludovic Courtès
2021-04-22 22:40     ` bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID Ludovic Courtès
2021-06-05 23:08   ` David Wilson
2021-06-07  6:20     ` Mathieu Othacehe
2021-06-08 16:33       ` David Wilson
2021-06-09 15:57         ` Mathieu Othacehe
2021-06-09 16:44           ` David Wilson
2021-06-12  7:49             ` Mathieu Othacehe [this message]
2021-06-12 13:53               ` David Wilson
2021-06-12 16:53                 ` Mathieu Othacehe
2021-06-12 22:26                   ` David Wilson
2021-06-17 10:24                     ` Mathieu Othacehe

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

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

  git send-email \
    --in-reply-to=87pmwred5f.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=44872@debbugs.gnu.org \
    --cc=david@daviwil.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.