VirtualBox 6.1.28无法加载R0模块(`VERR_LDR_GENERAL_FAILURE`)在Windows上。

5

VirtualBox 6.1.28在Windows上无法启动虚拟机,并显示以下错误:

Failed to load R0 module C:\Program Files\Oracle\VirtualBox/VMMR0.r0:
SUP_IOCTL_LDR_OPEN failed (VERR_LDR_GENERAL_FAILURE).
Failed to load VMMR0.r0 (VERR_LDR_GENERAL_FAILURE).

我投票关闭此问题,因为一般的Vagrant支持是不相关的。支持问题可以在https://superuser.com上提问。 - Rob
4个回答

6

1
遇到了同样的问题。降级到6.1.26解决了问题 :) - gurehbgui
1
他们已经发布了6.1.30版本 :) https://www.virtualbox.org/wiki/Downloads - alanextar
1
根据@alhernau的说法,6.1.30仍未解决该问题。 - Grzegorz Smulko
只需使用另一个版本重新安装即可。对于Linux,您可以按照此链接中提供的说明进行操作。对我来说,6.1.26也解决了这个问题。 - cestpasmoi
alanextar... 他们已经发布了6.1.38版本,但这个问题仍然存在。我不知道Oracle是否正在解决这个bug... 我在最新的Ubuntu上安装了最新的VBox,是的,回退到旧版本可以解决这个bug,但这不是一个修复或甚至是一个解决方法。 - ThN

4

解决方法...

https://www.virtualbox.org/ticket/20694

由于 Windows Hypervisor 强制执行代码完整性 (HVCI) 功能拒绝 VirtualBox 组件 VMMR0.r0 (*),可以通过以下方法禁用 HVCI 或称内存完整性来解决:

在您的 Windows 主机上,转到开始菜单 > 设置 > 更新和安全 > Windows 安全 > 设备安全性 > 核心隔离详细信息,关闭内存完整性并重新启动 Windows 主机。

(*) 在 Windows 事件日志中,在应用程序和服务日志\Microsoft\Windows\CodeIntegrity\Operational 下记录了一个 ID 为 3111 的事件(“验证失败的文件未满足受保护的代码完整性 (HVCI) 策略。”)。


1
“固定移动到6.1.26”
“在Windows 10上:”
  • Uninstall VirtualBox using the control panel "Program and functionalities" tool. DO NOT RESTART YET.

  • Manually check for the following folders and remove them if they are still there:

    C:\Program Files\Oracle\VirtualBox
    C:\Program Files (x86)\Oracle\VirtualBox
    

    Note: The folders can be in a different place depending where you installed Oracle VirtualBox; make sure to check the correct folder in case you changed the installation directory.

  • Go to your %userprofile% directory (eg: C:\users\me) and delete the folders:

    .VirtualBox
    VirtualBox VMs
    
  • Go to RegEdit (WIN+R and type regedit) and click on Computer at the very top.

  • Then click on "Edit" > "Search" or hit CTRL+F. Type virtualbox and tick all checkboxes.

  • Find the key Oracle > VirtualBox. It should be in

    Computer\HKEY_CURRENT_USER\SOFTWARE\Oracle\VirtualBox
    
  • Remove the VirtualBox key.

  • IMPORTANT: RESTART NOW. Restart your computer!

  • Install VirtualBox again with the new version.

感谢:https://forums.virtualbox.org/viewtopic.php?t=82689

0
我曾经遇到同样的问题并找到了解决方法。您需要打开Oracle VM VirtualBox.exe并进入您的机器设置,确保在控制器:SATA中只有您的机器的.iso文件,如果有其他文件,请将其删除,关闭Oracle VM VirtualBox。在控制面板中找到程序和功能,删除您的Oracle VM VirtualBox。然后再次下载Oracle VM VirtualBox,不必要选择哪个版本启动,最好是最新的或者与之前相同的版本。安装完成后检查您的机器是否能够正常工作,如果可以,您可以添加其他.iso文件,如果不能正常工作,请再次打开设置并在控制器:SATA中删除除您的机器.iso文件以外的所有.iso文件,然后再次启动机器。这对我的虚拟机有效,如果对您的情况不适用,您可以尝试其他变体。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接