Debian 10 安装程序期间 GRUB 无法安装(回复:UEFI、SuperMicro 主板)

Sof*_*Kng 5 grub uefi debian-installer

我已经在我的服务器 ( SuperMicro X9DRi-F )中安装了一块新主板,并且正在尝试安装 Debian 10 的全新副本。但是,当它尝试安装 GRUB 时,它失败了:

Unable to install GRUB in dummy
Executing 'grub-install dummy' failed.
This is a fatal error.
Run Code Online (Sandbox Code Playgroud)

我确保在 UEFI 模式下启动安装程序(USB 驱动器),因为我正在进入 BIOS 并强制其启动(正确显示“UEFI:Sandisk”)。

我无法剪切并粘贴 /var/log/syslog 消息,但它基本上是这样的:

Installing grub on 'dummy'
grub-install does not support --no-floppy
Running chroot /target grub-install  --force "dummy"
Installing for x86_64-efi platform.
grub-install: warning: Cannot read EFI Boot* variables.
grub-install: warning: read_file: could not read from file: Input/output error.
grub-install: warning: vars_get_variable: read_file(...) failed: Input/output error.
Run Code Online (Sandbox Code Playgroud)

我搜索过,看到其他人也遇到这个问题,但不清楚有人是如何解决的?

有人可以帮我吗?

Dav*_*vid 2

在我的系统上重新安装 grub 时遇到同样的问题。我的解决方案(使用 debian live 系统):

~ # mount /dev/sdX /target
~ # mount -o rbind /dev /target/dev
~ # mount -t proc proc /target/proc
~ # mount -t sysfs sys /target/sys
~ # mount -t efivarfs efivarfs /target/sys/firmware/efi/efivars # added that line (in difference to all other manuals found on the internet..)
~ # chroot /target/
~ # grub-install
~ # update-grub
Run Code Online (Sandbox Code Playgroud)