I have installed virtual box But when I tried to run it. It shows me an error as:
I have been trying everything for whole day. Like there are answers related to this question as:
VT-x is not available, but is enabled in BIOSVT-x is not available (VERR_VMX_NO_VMX) (VirtualBox) but enabled in bios, hyper-v enabled, and cpu supported
But nothing seems to work out in my case. I want to install ubuntu18.04 on VM.
These are my logs:
00:00:02.822701 VirtualBox VM 6.0.0 r127566 win.amd64 (Dec 18 2018 12:01:23) release log00:00:02.822732 Log opened 2019-01-08T10:02:05.773237700Z00:00:02.822733 Build Type: release00:00:02.822737 OS Product: Windows 1000:00:02.822738 OS Release: 10.0.1713400:00:02.822739 OS Service Pack: 00:00:02.902704 DMI Product Name: 20L6S4T80H00:00:02.907611 DMI Product Version: ThinkPad T48000:00:02.907624 Host RAM: 16262MB (15.8GB) total, 11912MB (11.6GB) available00:00:02.907627 Executable: C:Program FilesOracleVirtualBoxVirtualBoxVM.exe00:00:02.907627 Process ID: 1216000:00:02.907628 Package type: WINDOWS_64BITS_GENERIC00: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.200:00:02.915484 GUI: UIMediumEnumerator: Medium-enumeration finished!00:00:03.057646 SUP: Loaded VMMR0.r0 (C:Program FilesOracleVirtualBoxVMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX using the native ring-0 loader00:00:03.057680 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX00:00:03.057687 SUP: windbg> .reload /f C:Program FilesOracleVirtualBoxVMMR0.r0=0xXXXXXXXXXXXXXXXX00:00:03.062104 Guest OS type: 'Ubuntu_64'00:00:03.064007 fHMForced=true - Lots of RAM00:00:03.064022 fHMForced=true - 64-bit guest00:00:03.070587 File system of 'C:UsershichaudhDownloadsubuntu-18.04.1-desktop-amd64.iso' (DVD) is ntfs00:00:03.075516 File system of 'C:UsershichaudhVirtualBox VMsUbuntuSnapshots' (snapshots) is unknown00:00:03.075531 File system of 'C:UsershichaudhVirtualBox VMsUbuntuUbuntu.vdi' is ntfs00:00:03.112825 Shared clipboard service loaded00:00:03.112847 Shared clipboard mode: Off00:00:03.137749 Drag and drop service loaded00:00:03.137761 Drag and drop mode: Off00:00:03.139869 ************************* CFGM dump *************************00:00:03.255048 NEM: ShaSupport: 000:00:03.255052 NEM: X87PointersSavedSupport: 000:00:03.255089 NEM: WHvCapabilityCodeProcessorClFlushSize = 2^800:00:03.256588 NEM: VidGetHvPartitionId -> fun:0x2210a3 in:0x0 out:0x800:00:03.256618 NEM: VidStartVirtualProcessor -> fun:0x22115c in:0x4 out:0x000:00:03.256623 NEM: VidStopVirtualProcessor -> fun:0x221168 in:0x4 out:0x000:00:03.256635 NEM: VidMessageSlotHandleAndGetNext -> fun:0x2210cb in:0xc out:0x000:00:03.256722 VMSetError: F:tinderboxwin-relsrcVBoxVMMVMMR3NEMR3Native-win.cpp(1298) int __cdecl nemR3NativeInit(struct VM *,bool,bool); rc=VERR_NEM_MISSING_KERNEL_API00:00:03.256907 VMSetError: 00:00:03.256936 NEM: NEMR3Init: Native init failed: VERR_NEM_MISSING_KERNEL_API.00:00:03.256946 VMSetError: F:tinderboxwin-relsrcVBoxVMMVMMR3HM.cpp(818) int __cdecl HMR3Init(struct VM *); rc=VERR_VMX_NO_VMX00:00:03.256974 VMSetError: VT-x is not available00: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=-400900: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 800x60000: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=000:00:03.767731 GUI: Aborting startup due to power up progress issue detected...
Note:
- I have checked my BIOS VT-x is enabled.
- Hyper-V is disabled from windows features.
- Windows virtualization is enabled from windows features.
Any help !
Solution:
I have figured it out after giving my whole Day. There are other settings too in windows which needs to be figured out when working with VM. We need to disable
Windows Hypervisor Platform and Virtual Machine Platform along with Hyper-V.
Since I have installed docker desktop on windows due to which these setting are enabled. Also you need to restart after changing these settings.