我已经安装了虚拟盒,但是当我尝试运行它时,它显示了一个错误:
我整天都在尝试各种方法。例如,与此问题相关的答案如下:
VT-x 不可用,但已在 BIOS 中启用 VT-x 不可用(VERR_VMX_NO_VMX)(VirtualBox),但在 bios 中启用,启用 hyper-v,并支持 cpu
但对我来说似乎没有什么效果。我想在虚拟机上安装 ubuntu18.04。
这些是我的日志:
00:00:02.822701 VirtualBox VM 6.0.0 r127566 win.amd64 (Dec 18 2018 12:01:23) release log
00:00:02.822732 Log opened 2019-01-08T10:02:05.773237700Z
00:00:02.822733 Build Type: release
00:00:02.822737 OS Product: Windows 10
00:00:02.822738 OS Release: 10.0.17134
00:00:02.822739 OS Service Pack:
00:00:02.902704 DMI Product Name: 20L6S4T80H
00:00:02.907611 DMI Product Version: ThinkPad T480
00:00:02.907624 Host RAM: 16262MB (15.8GB) total, 11912MB (11.6GB) available
00:00:02.907627 Executable: C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe
00:00:02.907627 Process ID: 12160
00:00:02.907628 Package type: WINDOWS_64BITS_GENERIC
00:00:02.909800 Installed Extension Packs:
00:00:02.909899 None installed!
00:00:02.911165 Console: Machine state changed to 'Starting'
00:00:02.911757 Qt version: 5.6.2
00:00:02.915484 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:03.057646 SUP: Loaded VMMR0.r0 (C:\Program Files\Oracle\VirtualBox\VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX using the native ring-0 loader
00:00:03.057680 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:03.057687 SUP: windbg> .reload /f C:\Program Files\Oracle\VirtualBox\VMMR0.r0=0xXXXXXXXXXXXXXXXX
00:00:03.062104 Guest OS type: 'Ubuntu_64'
00:00:03.064007 fHMForced=true - Lots of RAM
00:00:03.064022 fHMForced=true - 64-bit guest
00:00:03.070587 File system of 'C:\Users\hichaudh\Downloads\ubuntu-18.04.1-desktop-amd64.iso' (DVD) is ntfs
00:00:03.075516 File system of 'C:\Users\hichaudh\VirtualBox VMs\Ubuntu\Snapshots' (snapshots) is unknown
00:00:03.075531 File system of 'C:\Users\hichaudh\VirtualBox VMs\Ubuntu\Ubuntu.vdi' is ntfs
00:00:03.112825 Shared clipboard service loaded
00:00:03.112847 Shared clipboard mode: Off
00:00:03.137749 Drag and drop service loaded
00:00:03.137761 Drag and drop mode: Off
00:00:03.139869 ************************* CFGM dump *************************
00:00:03.255048 NEM: ShaSupport: 0
00:00:03.255052 NEM: X87PointersSavedSupport: 0
00:00:03.255089 NEM: WHvCapabilityCodeProcessorClFlushSize = 2^8
00:00:03.256588 NEM: VidGetHvPartitionId -> fun:0x2210a3 in:0x0 out:0x8
00:00:03.256618 NEM: VidStartVirtualProcessor -> fun:0x22115c in:0x4 out:0x0
00:00:03.256623 NEM: VidStopVirtualProcessor -> fun:0x221168 in:0x4 out:0x0
00:00:03.256635 NEM: VidMessageSlotHandleAndGetNext -> fun:0x2210cb in:0xc out:0x0
00:00:03.256722 VMSetError: F:\tinderbox\win-rel\src\VBox\VMM\VMMR3\NEMR3Native-win.cpp(1298) int __cdecl nemR3NativeInit(struct VM *,bool,bool); rc=VERR_NEM_MISSING_KERNEL_API
00:00:03.256907 VMSetError:
00:00:03.256936 NEM: NEMR3Init: Native init failed: VERR_NEM_MISSING_KERNEL_API.
00:00:03.256946 VMSetError: F:\tinderbox\win-rel\src\VBox\VMM\VMMR3\HM.cpp(818) int __cdecl HMR3Init(struct VM *); rc=VERR_VMX_NO_VMX
00:00:03.256974 VMSetError: VT-x is not available
00:00:03.258928 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={ (VERR_NEM_MISSING_KERNEL_API).
00:00:03.259018 VT-x is not available (VERR_VMX_NO_VMX)}, preserve=false aResultDetail=-4009
00:00:03.259562 Console: Machine state changed to 'PoweredOff'
00:00:03.266129 Power up failed (vrc=VERR_VMX_NO_VMX, rc=E_FAIL (0X80004005))
00:00:03.767441 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:03.767486 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ab4164db-c13e-4dab-842d-61ee3f0c1e87} aComponent={DisplayWrap} aText={The console is not powered up}, preserve=false aResultDetail=0
00:00:03.767731 GUI: Aborting startup due to power up progress issue detected...
笔记:
- 我已检查我的 BIOS VT-x 已启用。
- Hyper-V 已被 Windows 功能禁用。
- Windows 虚拟化是从 Windows 功能中启用的。
有什么帮助吗!
答案1
答案2
从 Windows 功能中,我禁用了许多功能,每次都重试。我禁用了以下功能:
- Hyper-V
- 虚拟机平台
- Windows 虚拟机管理程序平台
- 容器
希望对某人有帮助
答案3
我也遇到过类似的问题。后来我发现 Windows Defender Application Guard 也需要禁用,然后我的虚拟机才能正常运行。
答案4
我终于设法让我的 VirtualBox备份 和跑步。对我来说,事情是这样的,正在运行在早些时候,因为我已经在 VirtualBox 中设置了图像和用户。但与此同时,一些 Windows 更新和/或 Windows 安全更新一定是改变了一些东西,我无法再启动虚拟机。
总而言之,我已经完成了此帖子中发布的每一件事,即: 我禁用了以下功能:
- Hyper-V(肯定需要关闭)
- 虚拟机平台
- Windows 虚拟机管理程序平台(不确定如果需要关闭)
- 容器
我已经进入 BIOS 并验证 VT-x已启用在“虚拟化”的某个地方。虽然你在那儿,禁用任何看起来像内存保护的东西!
但答案这里引导我使用 Windows Defender/Antivirus。
设置->应用程序防护,引导你“应用程序和浏览器控制”
去:
“应用程序和浏览器控制”-> 漏洞保护 ->漏洞保护设置-> 数据执行保护 (DEP) = “默认关闭”
➡ 要求您重新启动,然后重新启动后,VirtualBox 终于起作用了。
有趣的是,做完这些之后,我去了漏洞保护再次,但 DEP 又回到了“使用默认值(开启)”。我想知道是否有一些驱动程序/功能在我之前(六次?)重新启动时安装不正确,现在终于配置正确了。
您可能还需要检查/禁用此功能(我之前已经这样做了):
Windows 安全->设备安全->核心隔离->内存完整性=关闭。
这英特尔® 处理器识别实用程序帮助了这一切。您启动它,并且需要它为 VT-x 显示以下内容: