virtualbox 启动虚拟机提示Cannot load R0 module

Cannot load R0 module C:\Program Files\Oracle\VirtualBox/VBoxDDR0.r0: SUPR3LoadModule: supLoadModule returned VERR_LDR_MISMATCH_NATIVE (VERR_LDR_MISMATCH_NATIVE).


Failed to register ourselves as a PCI Bus (VERR_MODULE_NOT_FOUND).

Vagrant 1.7.2
virtualbox:4.3.12

通过Oracle VM VirtualBox 下处理“不能为虚拟电脑 XXX 打开一个新任务”的问题的解决方法,尝试给Oracle VM VirtualBox的快捷方式 右键 -> 属性 -> 兼容性
然后: 赋予管理员身份运行,顺便以win8兼容模式运行该程序。

316459-20170313213459229-33612041.png

然后再尝试 vagrant up命令之后,虚拟机启动成功。

316459-20170313213716463-1780179011.png


在重启win10之后,重新运行vagrant up之后,会提示

D:\phpdev>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

的错误信息,启动失败,查看了 virtualbox 快捷键的属性兼容性的设置是上面的设置,就是启动不起来,在Virtualbox中启动虚拟机,会提示之前的Cannot load R0 module一样的错误信息。最后尝试 Virtualbox的快捷键图标 右键,以管理员身份运行,Virtualbox 软体界面打开,然后在尝试运行vagrant up之后,启动成功,SSH 也可以成功进入,执行命令,只是 Virtualbox 中的虚拟机状态不是启动的状态,依然是关闭的状态,有点小奇怪。

316459-20170313223611307-949008914.png

转载于:https://www.cnblogs.com/fsong/p/6545205.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值