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兼容模式運行該程序。
然后再嘗試 vagrant up
命令之后,虛擬機啟動成功。
在重啟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 中的虛擬機狀態不是啟動的狀態,依然是關閉的狀態
,有點小奇怪。