私のサーバーに新しいマザーボードをインストールしました(スーパーマイクロX9DRi-F)そしてDebian 10を新しくインストールしようとしています。ただし、GRUBをインストールしようとすると失敗します。
Unable to install GRUB in dummy
Executing 'grub-install dummy' failed.
This is a fatal error.
BIOSに入り、強制起動時にUEFIモードでインストーラ(USBドライブ)を起動したことを確認しました(「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.
検索してみると他の人もこの問題を経験しているようですが、どのように解決されたのかわかりませんね。
誰でも私を助けることができますか?
ベストアンサー1
システムに grub を再インストールする際にも同じ問題が発生しました。私のソリューション(Debian Live Systemを使用):
~ # 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