在Windows 10上使用 Linux 子系统的时候,无法成功启用。根据官方文档 旧版 WSL 的手动安装步骤 之后,依旧没效果,反倒是VirtualBox无法进入系统了。
观察日志,报错信息如下:
Intel CPU
1 2 |
{timestamp} HM: HMR3Init: Attempting fall back to NEM: VT-x is not available {timestamp} NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work... |
AMD CPU
1 2 |
{timestamp} HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available {timestamp} NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work... |
解决方案如下:
1.使用管理员启动命令行.
2. 执行如下命令:
1 |
bcdedit /set hypervisorlaunchtype off |
某些电脑需要额外执行如下命令:
1 |
DISM /Online /Disable-Feature:Microsoft-Hyper-V |
3. 重启电脑