Guix installer failed to install

  • Open
  • quality assurance status badge
Details
2 participants
  • Bruno Haible
  • Josselin Poiret
Owner
unassigned
Submitted by
Bruno Haible
Severity
normal
B
B
Bruno Haible wrote on 20 Aug 2023 18:02
(address . bug-guix@gnu.org)
3890128.2RXx4rv9zb@nimes
Hi,

My attempt to install Guix 1.4.0 in a VM failed, shortly after a message:

guix system: warning: at least 6,035.5 MB needed but only 1,079.3 MB available in /mnt

The steps that I did are below. Data was uploaded as
installer-dump-2cf3425e.

The problem is not so much that it failed, but that the warning
message does not sufficiently describe the cause:
* I understand the figure of 6 GB: that's the expected size for
a GUI environment with MATE.
* But I don't understand the figure of 1 GB.
- Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
to mount /mnt?
- Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
- Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
already filled 9 GB of it?
If I knew this, I would know what to do to fix the problem: Add more RAM?
Partition differently? Use a larger main partition?

Best regards.

Bruno

========================= What I did =========================
Download: guix-system-install-1.4.0.x86_64-linux.iso

Disk size: 10 GB

Language: English.
Territory: United States.
Graphical install.
Timezone: Europe/Berlin
Keyboard: English (US)
Hostname: guix14
Root password: ********
Add user:
User: bruno
Full name: Bruno Haible
Home directory: /home/bruno
Password: ********
Desktop environment: MATE + ExWM
Enable OpenSSH daemon.
Partitioning: Guided. gpt. One partition.
Delete partitions 2 and 3.
Create new partitions:
9.7 GB ext4 /
1035 MB linux-swap
J
J
Josselin Poiret wrote on 22 Aug 2023 11:08
87y1i3v40e.fsf@jpoiret.xyz
Hi Bruno,

Bruno Haible <bruno@clisp.org> writes:
Toggle quote (14 lines)
>
> The problem is not so much that it failed, but that the warning
> message does not sufficiently describe the cause:
> * I understand the figure of 6 GB: that's the expected size for
> a GUI environment with MATE.
> * But I don't understand the figure of 1 GB.
> - Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
> to mount /mnt?
> - Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
> - Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
> already filled 9 GB of it?
> If I knew this, I would know what to do to fix the problem: Add more RAM?
> Partition differently? Use a larger main partition?

My guess is that, because a Guix system init installs some stuff in
steps, one of these steps ended up requiring too much space, that would
be bullet point 3 above. You can check that it's not 1 or 2 by, once
you reproduce this bug, going to tty3 (using ctrl+alt+f3), and typing
`lsblk` to check which partition is mounted where. In the meantime, I
would probably recommend adding some space for /.

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmTkevEQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaivm6C/9+DjXLUyG3Xyrp3HgyVsBb32QZkhhz2o6K
xGQ58+9GyrrpAGnom3EG6Gf2UXwN25t6vFw7S/muVVCwYNj/G4cQC3LJECZIIYd4
CwhwZSeN/GtnO1/vrq/4JjKDyt7ckgrnTr5VvDfGjHYU5SZDIrKjORKUnIXjb2OK
pbiktyV9XKgNEtjAvvFSMYVMUH2CaSdTO9Ui6aJpHf67OxDoZyeYWkyjZTaCJ8wY
MirY0EWTrrxhtnUevC5abnRvDcXAqDJsc7GmqEazcZhoPhfRrmgq8TLnq4mnOaVV
THjtesiVLhQYj83iuHhXmpojYcek2jWSdYIsR1SUp0jecOkzPeJ3VjqWofkUVZAF
A3iYnBfMd8unjqGdmsDDjSD8q00GiotIEFc14T5ASNYDYBj6a6yryP2abn9JCwKj
+7XD6I+bH27yP4dGi7+CH61QvfytXll2eVE2fAvuuDahorFsKBem+OulDQM42Yvj
/JgHv5xdsf9xzpYK4Xd2bb0MxULaQVE=
=D6Xm
-----END PGP SIGNATURE-----

B
B
Bruno Haible wrote on 2 Sep 2023 13:55
3960010.ZaRXLXkqSa@nimes
Hi Josselin,

Thanks for the answer.

Toggle quote (17 lines)
> > The problem is not so much that it failed, but that the warning
> > message does not sufficiently describe the cause:
> > * I understand the figure of 6 GB: that's the expected size for
> > a GUI environment with MATE.
> > * But I don't understand the figure of 1 GB.
> > - Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
> > to mount /mnt?
> > - Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
> > - Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
> > already filled 9 GB of it?
> > If I knew this, I would know what to do to fix the problem: Add more RAM?
> > Partition differently? Use a larger main partition?
>
> My guess is that, because a Guix system init installs some stuff in
> steps, one of these steps ended up requiring too much space, that would
> be bullet point 3 above.

Yes, that was it. I did the same procedure again, this time with a disk
of size 20 GB instead of 10 GB. The installation succeeded, and after the
installation 6-7 GB of the disk were used. But the qcow2 disk image was
14 GB large, indicating that the maximum use of the disk had been 14 GB.
So, yes, there must have been ca. 7 GB of data that were temporarily used
and deleted near the end of the installation process.

Suggestion: Extend the message "... but only 1,079.3 MB available in /mnt"
- either to include details about /mnt:
"... but only 1,079.3 MB available in /mnt, mount point for /dev/sda2
(file system type: ext4)"
- or to include details about the usage of /mnt:
"... but only 1,079.3 MB available in /mnt, a file system with 8,543 MB
total size, of which 7,421 MB are already in use"

Bruno
?