我已经在我的服务器 ( 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)
我搜索过,看到其他人也遇到这个问题,但不清楚有人是如何解决的?
有人可以帮我吗?
我使用的是 Debian 10.8 和 Linux 内核 4.19.0-14。
我正在尝试使用 IOMMU 传递整个 USB 控制器(PCI Express 卡),但遇到问题。内核正在加载 ohci_pci 和 ehci_pci 驱动程序,我似乎无法阻止它或取消绑定它们。
我尝试删除它们(echo 1 > /sys/bus/pci/devices/...),但它冻结了系统。(内核通过堆栈跟踪等显示内核 BUG)
因此,我试图阻止内核绑定 ohci 和 ehci 驱动程序,以便 VFIO 可以使用它们而无需先解除绑定。
我尝试了几件事:
我认为内核正在使用内置的 ohci/ehci 驱动程序(而不是模块),因此也许它会在 pci-stub 或 vfio 阻止之前加载这些驱动程序?
我想备份我当前的 Debian 9 服务器操作系统分区,以便我可以安装 Debian 10 的干净版本。
但是,在安装 Debian 10 后,我想挂载我的旧操作系统映像,以便我可以根据需要浏览和恢复文件。
我以为我会使用 CloneZilla,但显然您不能直接安装它创建的图像?