分享

(Manjaro)VirtualBox异常修复:RTR3InitEx failed with rc=

 牛厨馆 2024-03-01 发布于上海

作者:bl@stu.ouc.edu.cn
本文为作者原创,转载请注明出处:https://www.cnblogs.com/oucbl/p/12079719.html


 


引言

VirtualBox运行异常好几天,其中尝试一些操作都没有解决。

版本说明

系统版本:4.19.88-1-MANJARO
Vbox镜像:kali-linux-2019.4-vbox-amd64.ova

操作分析

主要操作及分析如下:

  1. 直接在Octopi中安装:当时少安装或错误安装某些模块,比如 linux419-virtualbox-guest-modules ,特别还要注意版本号。
  2. 混合安装: 在没有解决问题,或没有确定完全卸载的情况下,又通过 pancman命令安装,更可能导致内核版本的不一致性。
  3. 手动安装:也是没有完全删除的情况下,手动安装包。

备注

错误

内核版本错误

导入VM镜像文件,运行时出错;如下图所示:
vbox error

The virtual machine 'Kali Rolling (2019.4) x64' has terminated unexpectedly during startup with exit code 1 (0x1).

返回 代码: NS_ERROR_FAILURE (0x80004005)
组件: MachineWrap
界面: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}


RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 

无效设置

内核版本错误修复后,导入版本运行时的错误;如下图所示:
setting error

不能为虚拟电脑 Kali Rolling (2019.4) x64 打开一个新任务.

Implementation of the USB 2.0 controller not found!

Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.

Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND).

返回 代码: NS_ERROR_FAILURE (0x80004005)
组件: ConsoleWrap
界面: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

修复

内核版本错误

管理权限,命令行修复

1. 查看vboxdrv内核信息
# modinfo vboxdrv 
2. 删除内核文件
# rm /lib/modules/4.19.88-1-MANJARO/kernel/misc/vboxdrv.ko.xz 
3. 验证删除;即无法找到内核信息
# modinfo vboxdrv
4. 重新配置
# /sbin/vboxconfig
5. 再次验证
# modinfo vboxdrv

参考示意图如下:
bl terminal

无效设置

从错误码中基本可以判定是USB设置的问题;

本文提供2中方式:

1.设置USB控制选择1.1即可。

另引用syunwei的方式

I had this problem as well and found a simple way to fix this issue by right click on the vm image -> settings -> Ports -> USB -> Change from USB 2.0 to USB 1.1
Virtual Box version: 5.2.16 r123759

2.安装扩展包

以VirtualBox的方式打开文件(需要root授权) :Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack,并按照提示安装。

参考

  1. VirtualBox - RTR3InitEx failed with rc=-1912 (rc=-1912): https:///questions/900794/virtualbox-rtr3initex-failed-with-rc-1912-rc-1912
  2. Unexpected error about USB 2.0!: https://www./ticket/8182
  3. Kali Linux Default Passwords: https://www./docs/introduction/kali-linux-default-passwords/
  4. 1.5. Installing Oracle VM VirtualBox and Extension Packs: https://www./manual/ch01.html#intro-installing

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多