Windows 10上没有VT-x和No Hyper-V管理器

问题描述 投票:0回答:4

当我使用vagrant up启动VM时,我发现以下错误ox80004005(请注意,我使用Oracle VM Virtualbox进行虚拟化)

kayan@kayan-VirtualBox:~/vagrant/rpm$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'jhcook/fedora27' is up to date...
==> 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 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "769fc6c1-ea8d-46d8-8a7b-16989540d530", "--type", "gui"]

Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Screenshot: VT-x isn't available ERROR

我使用的是64位Windows 10.我的处理器是Intel(R)Core(TM)i7-7500U CPU @ 2.70 GHz。

为了解决这个错误,有人建议我在我的主机Windows机器上禁用Hyper -v。当我选择禁用Hyper -v功能时,我发现我的机器中没有Hyper-v(奇怪!!!)

Screenshot: No option to enable or disable Hyper-v

然后我使用这个命令dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All来禁用虚拟机管理程序,我发现了这个(注意:我以管理员身份运行CMD)。

Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.125


Error: 0x800f080c

Feature name Microsoft-Hyper-V is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32

Screenshot: 0x800f080c ERROR

我的虚拟机配置:

  • 操作系统:Ubuntu 16.04.03
  • 内存:3072 MB
  • 存储:500 GB
  • 存储类型:VDI
virtual-machine virtualbox hyper-v
4个回答
2
投票

如果在Windows 10创始人更新后面临VirtualBox中的问题,则需要再次关闭Core Isolation Memory Integrity。用户界面被窃听,这里是如何完成的。注册表,导航到下面并设置0:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity\Enabled

1
投票

Windows 10 Home Edition上未安装Hyper-V,这可能就是您没有看到它的原因。

https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v

您需要更改Bios设置以启用虚拟化。 https://www.laptopmag.com/articles/access-bios-windows-10

启用后,您可以使用VirtualBox。


1
投票

(更新)Oracle VM Virtualbox不支持嵌套的64位虚拟机。

我的主机实际上是一台64位机器。我安装了Oracle VM Virtualbox并在那里安装了64位Linux VM。我的目标是在该VM上安装另一个64位Linux VM。不幸的是,Oracle VM Virtualbox没有为我们提供这种支持。

为了解决这个问题,我使用VMWare安装了第一个VM。然后我在该VM上安装了Oracle VM Virtualbox,并在VirtualBox上安装了第二个VM。


0
投票

当我想运行模拟器时,我有同样的问题,并感谢bluedi解决了这个问题。

只是禁用内存完整性

“设置” - >“更新和安全” - >“Windows安全” - >“设备安全” - >“核心隔离” - >将其关闭

© www.soinside.com 2019 - 2024. All rights reserved.