gpt4 book ai didi

virtual-machine - VT-x 不可用且 Windows 10 上没有 Hyper-V 管理器

转载 作者:行者123 更新时间:2023-12-05 00:48:58 24 4
gpt4 key购买 nike

当我使用 vagrant up 启动 VM 时,我发现以下 error 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

最佳答案

如果您在 Windows 10 Founder's Update 之后在 VirtualBox 中遇到问题,您需要再次关闭 Core Isolation Memory Integrity。用户界面有问题,这是可以通过以下方式完成的。注册表,导航到下面并设置为0:

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

关于virtual-machine - VT-x 不可用且 Windows 10 上没有 Hyper-V 管理器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48000006/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com