Hi Leah,

On Wed, Jul 31, 2019 at 10:19:19AM +0200, Leah Oswald wrote:
>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;"  

Hmmm, that's odd. I'd expect the efivarfs stuff to Just Work (TM) for
you. Can you share a full syslog please? Curious to see what's going
on.

-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back

Reply via email to