Package: debian-installer Version: 20190702 Severity: important Tags: d-i Hey, we tried to install debian buster with our preseed file (see: https://paste.debian.net/hidden/ecde0369/) that was working with debian stretch. Now the installation fails at installing the grub dummy ("Unable to install GRUB in dummy | Executing "grub-install dummy failed."").
The syslog of the installer gives a hint to a missing access to the efi variables: Jul 30 15:40:04 grub-installer: info: Installing grub on 'dummy' Jul 30 15:40:04 grub-installer: info: grub-install does not support --no-floppy Jul 30 15:40:04 grub-installer: info: Running chroot /target grub-install --force "dummy" Jul 30 15:40:04 grub-installer: Installing for x86_64-efi platform. Jul 30 15:40:06 grub-installer: grub-install: warning: Cannot read EFI Boot* variables. Jul 30 15:40:06 grub-installer: grub-install: warning: read_file: could not read from file: Input/output error. Jul 30 15:40:06 grub-installer: grub-install: warning: vars_get_variable: read_file(/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var) failed: Input/output error. Jul 30 15:40:06 grub-installer: grub-install: warning: efi_get_variable: ops->get_variable failed: Input/output error. Jul 30 15:40:06 grub-installer: grub-install: error: failed to register the EFI boot entry: Input/output error. Jul 30 15:40:06 grub-installer: error: Running 'grub-install --force "dummy"' failed. After manually mounting the efivarfs the installation of the grub dummy works. We could work arround this issue by adding the following line to our preseed file, but this shouldn't be the solution rather than a workarround. d-i preseed/late_command string in-target sh -c "mount -t efivarfs efivarfs /sys/firmware/efi/efivars; grub-install; update-grub;" -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)