Package: debian-installer Severity: important I am trying to install Debian 'testing' on RockPro64 board.
System booted from mainline U-Boot with EFI services enabled. Directly into d-i from 2020.06.15 copy of debian-testing-arm64-netinst.iso [1]. 1. https://cdimage.debian.org/cdimage/weekly-builds/arm64/iso-cd/debian-testing-arm64-netinst.iso Whole installation went fine until Grub installation: Jun 20 14:44:56 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb2 Jun 20 14:44:56 50mounted-tests: debug: mounted using GRUB fat filesystem driver Jun 20 14:44:56 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb Jun 20 14:44:56 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro Jun 20 14:44:56 grub-installer: info: Installing grub on 'dummy' Jun 20 14:44:57 grub-installer: info: grub-install does not support --no-floppy Jun 20 14:44:57 grub-installer: info: Running chroot /target grub-install --force "dummy" Jun 20 14:44:57 grub-installer: Installing for arm64-efi platform. Jun 20 14:45:01 grub-installer: grub-install: warning: Cannot set EFI variable Boot0000. Jun 20 14:45:01 grub-installer: grub-install: warning: vars_set_variable: write() failed: Invalid argument. Jun 20 14:45:01 grub-installer: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No such file or directory. Jun 20 14:45:01 grub-installer: grub-install: error: failed to register the EFI boot entry: No such file or directory. Jun 20 14:45:01 grub-installer: error: Running 'grub-install --force "dummy"' failed. I see Grub being present in /target/boot/efi: ~ # ls -l /target/boot/efi/ drwx------ 3 root root 8192 Jun 20 14:44 EFI ~ # ls -l /target/boot/efi/EFI/ drwx------ 2 root root 8192 Jun 20 14:45 debian ~ # ls -l /target/boot/efi/EFI/debian/ -rwx------ 1 root root 110 Jun 20 14:45 BOOTAA64.CSV -rwx------ 1 root root 819152 Jun 20 14:45 fbaa64.efi -rwx------ 1 root root 126 Jun 20 14:45 grub.cfg -rwx------ 1 root root 1799536 Jun 20 14:45 grubaa64.efi -rwx------ 1 root root 884952 Jun 20 14:45 mmaa64.efi -rwx------ 1 root root 918872 Jun 20 14:45 shimaa64.efi ~ # But 'grub.cfg' in /target/boot/grub/ directory was not created: ~ # ls -l /target/boot/grub/ drwxr-xr-x 2 root root 12288 Jun 20 14:45 arm64-efi drwxr-xr-x 2 root root 4096 Jun 20 14:45 fonts -rw-r--r-- 1 root root 1024 Jun 20 14:45 grubenv -rw-r--r-- 1 root root 2395475 Jun 20 14:44 unicode.pf2 I chrooted to /target and started 'update-grub' by hand to create config file: ~ # chroot /target/ # update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-5.6.0-2-arm64 Found initrd image: /boot/initrd.img-5.6.0-2-arm64 done Then I went back to D-I and selected 'continue without boot loader' option. -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.6.13-300.fc32.x86_64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect