【问题标题】:Run WSL 2 on a Virtual Machine through vmware fusion通过 vmware fusion 在虚拟机上运行 WSL 2
【发布时间】:2020-11-06 13:01:45
【问题描述】:

我正在尝试在我的 w10 虚拟机中安装 wsl2,该虚拟机通过 mac 上的 VMWare fusion 运行。

我按照官方指南:https://docs.microsoft.com/en-us/windows/wsl/install-win10

但是在安装 unbuntu 时我遇到了这个问题:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

Press any key to continue...

参考文档: 安装失败,错误 0x80070003 或错误 0x80370102

Please make sure that virtualization is enabled inside of your computer's BIOS.
The instructions on how to do this will vary from computer to computer,
and will most likely be under CPU related options.

看起来我必须在 bios 上激活虚拟化...但我在 VM Ware 中的 VM 上。我进入了 VM BIOS,但没有这样的选项。

有什么想法吗?

【问题讨论】:

  • 我也遇到了同样的问题,你找到解决办法了吗?

标签: linux virtual-machine vmware


【解决方案1】:

在虚拟机设置菜单的“处理器和内存”->“高级选项”下,选中“在此虚拟机中启用管理程序应用程序”复选框。这对我来说是使用 VMWare Fusion 11 的诀窍,我能够在 Windows 10 / 20H2 中运行 WSL2。

【讨论】:

    【解决方案2】:

    您的虚拟机 cpu 应使用 cpu 虚拟化引擎进行设置。请在 vmware 菜单中查看创建的 vm 设置

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-23
      • 2013-06-15
      • 1970-01-01
      • 2015-07-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-06
      • 2013-01-26
      相关资源
      最近更新 更多