Bug#923649: debian-installer: GRUB installation failure with U-Boot
Package: debian-installer
Version: 20190302-5
Severity: normal
Dear Maintainer,
I used
https://cdimage.debian.org/cdimage/daily-builds/daily/20190302-5/arm64/iso-cd/debian-testing-arm64-netinst.iso
to install Debian Buster on a Pine A64 LTS board.
U-Boot currently does not support EFI variable at runtime. So this is
the output of installing GRUB:
# grub-install --target=arm64-efi --boot-directory=/boot \
--efi-directory=/boot/efi
Installing for arm64-efi platform.
Could not prepare Boot variable: Input/output error
grub-install: error: efibootmgr failed to register the boot entry:
Input/output error.
# echo $?
1
The Debian installer showed an error indicating that GRUB was not
installed. On boards using U-Boot this error message is misleading as
GRUB is correctly installed and can be booted via U-Boot's bootefi command.
It would be preferable to show a simple warning in the installer saying:
"GRUB could not be registered in the boot manager."
Best regards
Heinrich Schuchardt
Reply to: