bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-17 Thread Mathieu Othacehe
Hey, > I've installed Guix about 5 times after building an image from the > latest changes, works perfectly for me both with encrypted and > unencrypted root partitions. Great, I improved the installation device detection again with: e12be802e02b3345a753e7ec1287852a7337a0a5. I think we can clo

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-12 Thread David Wilson
Hey Mathieu! Mathieu Othacehe writes: > I improved the install device detection with > 154a4e046281c28e39b5016e965d3d937a2ea4a1 by removing the device with the > default Guix System image ISO label. Works perfectly for me now, the USB installation device doesn't show up in the device list anymo

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-12 Thread Mathieu Othacehe
Hey, > It seems that for some reason the installer has automatically picked a > mount point of `/boot/efi' for `/dev/sda2' in addition to the mount > points on my actual hard drive. I now see an error dialog saying that > it can't retrieve the UUID of /dev/sda2 when I try to proceed past the >

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-12 Thread David Wilson
Hey Mathieu, thanks for looking into this! Mathieu Othacehe writes: > 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

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-12 Thread Mathieu Othacehe
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 ins

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-09 Thread David Wilson
Hey Mathieu, Mathieu Othacehe writes: > I'm using manual partitioning with the first partition mounted as the > ESP partition and the sixth partition as the root directory. > > The backtrace and the messages log file are attached. I'll try to find > some spare time to understand what's going on.

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-09 Thread Mathieu Othacehe
Hey David, > Take a look at these logs from a `guix repl' session (sorry for the > image, couldn't copy text from that machine): > > https://0x0.st/-_no.jpg Thanks for the very valuable information here! I managed to reproduce a very similar crash in Qemu by simulating your hard drive layout: -

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-08 Thread David Wilson
Hi Mathieu! Mathieu Othacehe writes: > The problem here is probably caused by the "free-parted" procedure > returning before all the partitions are properly created by the kernel. > > You could maybe try to run a custom installer image with the hideous > attached patch to confirm this theory. I

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-07 Thread Mathieu Othacehe
Hello David, > I also just hit this issue while using the graphical installer on a > machine that previously had Guix installed on it via the shell-driven > manual installation flow. I'm working on a video to show how to install > Guix using the graphical installer so it's a big blocker for me h

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-06-06 Thread David Wilson
Hi Guix! I also just hit this issue while using the graphical installer on a machine that previously had Guix installed on it via the shell-driven manual installation flow. I'm working on a video to show how to install Guix using the graphical installer so it's a big blocker for me hit this seemi

bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID

2021-04-22 Thread Ludovic Courtès
Ludovic Courtès skribis: > Apparently what happens here is that ‘read-partition-uuid’, called by > ‘user-partition->file-system’, returns #f, and that value is then passed > to ‘uuid->string’. > > There are two ways ‘read-partition-uuid’ can return #f: > > 1. the partition doesn’t have one of t