From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 12 03:49:10 2021 Received: (at 44872) by debbugs.gnu.org; 12 Jun 2021 07:49:10 +0000 Received: from localhost ([127.0.0.1]:40302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lryOD-00089N-NN for submit@debbugs.gnu.org; Sat, 12 Jun 2021 03:49:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lryOA-000898-UX for 44872@debbugs.gnu.org; Sat, 12 Jun 2021 03:49:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34750) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lryO5-0000yW-JN; Sat, 12 Jun 2021 03:49:01 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=37896 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lryO5-0006sp-BI; Sat, 12 Jun 2021 03:49:01 -0400 From: Mathieu Othacehe To: David Wilson Subject: Re: bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID References: <300530410.943064.1606325189191@mail.yahoo.com> <87fsxvsyek.fsf@daviwil.com> <8735tunqla.fsf@gnu.org> <87a6o071vh.fsf@daviwil.com> <87a6nzxc7h.fsf@gnu.org> <875yyn6l9d.fsf@daviwil.com> Date: Sat, 12 Jun 2021 09:49:00 +0200 In-Reply-To: <875yyn6l9d.fsf@daviwil.com> (David Wilson's message of "Wed, 09 Jun 2021 09:44:14 -0700") Message-ID: <87pmwred5f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44872 Cc: 44872@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 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