使用VirtualBox打開虛擬機報錯:Raw-mode is unavailable courtesy of Hyper-V

報錯界面如下:

爲了使VirtualBox能夠啓動虛擬機,必須在Windows 10中關閉Hyper-V。

1、檢查Hyper-V設置

管理員模式啓動cmd,輸入命令:

bcdedit

執行後看到 hypervisorlaunchtype值爲‘Auto’:

2、關閉 hypervisorlaunchtype

管理員身份cmd下執行命令:

bcdedit / set hypervisorlaunchtype off

重啓計算機。

注意:一定要重啓,不能關閉後再開啓。

此方法使用後雖然可以打開VirtualBox,但影響了系統其他功能,如藍牙連接、熱點連接等。

3、啓用 hypervisorlaunchtype

Windows的Docker需要Hyper-V提供的硬件虛擬化,需要啓用 hypervisorlaunchtype,同樣運行如下命令:

bcdedit /set hypervisorlaunchtype auto

 重啓計算機。

 參考:http://pinter.org/archives/7902#comments

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章