#1059580 grub-efi: Grub installation failed

Package:
grub-efi
Source:
grub-efi
Description:
GRand Unified Bootloader, version 2 (dummy package)
Submitter:
Ludovic Kiefer
Date:
2024-06-08 02:54:03 UTC
Severity:
normal
Tags:
#1059580#5
Date:
2023-12-28 16:14:26 UTC
From:
To:
Dear Maintainer,

At the end of the Debian installation, the installation of the Grub package
fails.

I first found this bug with the Debian 12.0 installer in september, but it is
still present in 12.4. My goal is to install a Debian with full disk
encryption, I just let the Debian Installer configure everything to use my
whole disk and create needed partitions. The installation performs well, but at
the end Grub is not installed. I got the message "Unable to install GRUB into
dummy". You can see in this capture the whole error messages:
https://pic.infini.fr/gallery#0aTFatc6/ALzRXAY9.png

I tried an installation without encryption and get the same error. I got this
error with Linux Mint too, but I managed to repair Grub after the installation
(only /home encryption). I did not manage to repair GRUB manually with Debian
and full disk encryption, and I didn't try without the encryption.

The PC is an Asus Expertbook B9400C. The BIOS is up to date (2023-12-12) and it
can only boot on EFI. The SSD is in GPT mode and all partitions were made using
the "automatic" mode. I used a USB drive made by the Linux Mint tool (which is
basically a GUI for dd).

Feel free to ask me more information. As I need this PC for the work, I will
reinstall Linux Mint if I didn't find a solution until the 2 of january (After
that date I will be unable to perform more tests and risk to lose my system)

PS: I write this report on another PC, the system information section is
written by Reportbug and is wrong

#1059580#10
Date:
2023-12-28 16:45:21 UTC
From:
To:
Hi Ludovic,

OK, thanks for sharing the picture of your syslog. The information
there (lines 3 and 4) says what the problem is - the EFI variable
space on your system is full. See

https://wiki.debian.org/UEFI#Firmware_has_run_out_of_space_to_write_boot_variables

for more information about this. Does this machine have a lot of files
in /sys/fs/pstore, by any chance?

#1059580#17
Date:
2024-06-08 02:50:22 UTC
From:
To:
Also see <https://lists.debian.org/debian-user/2024/06/msg00204.html>.
It looks like a thorny problem. Hat tip to Hans for figuring it out.

Jeff