Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
LJG433
Posts: 4
Joined: 1. Apr 2024, 13:23

Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by LJG433 »

Hello,

I know that this seems to be a common issue but I have tried every advice that I have found so far and it doesn't help, for a student project I need to run a virtual machine inside a virtual machine.

So I have my host physical system with Windows 10 in which I have installed VirtualBox and I have created a Virtual Machine with Kali Linux that is running fine, but inside this Kali Linux virtual machine, I need to run another virtual machine, when I launch this virtual machine I am getting this error:

VT-x is not available (VERR_VMX_NO_VMX).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

In the settings of this vitual machine in System\Processor, I have "Enable Nested VT-x/AMD-V" but when I launch lscpu in the Kali Linux that needs to hosts this virtual machine so I can see this:

Itlb multihit: KVM: Mitigation: VMX unsupported

I don't know how to have VMX supported for this virtual machine, I have tried to enter the Bios of this Virtual machine by having typed F2 several times during the Boot of this Virtual machine, I am spearking about the virtual machine on my physical host, would someon has faced the same issue before ?
linux-aarhus
Posts: 7
Joined: 10. Mar 2023, 10:34

Re: Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by linux-aarhus »

VT-x is not available (VERR_VMX_NO_VMX).
I don't run vm inside a vm - but I think to do so, you need to enable Nested VT-x/AMD-V ong the System -> Processor tab
LJG433
Posts: 4
Joined: 1. Apr 2024, 13:23

Re: Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by LJG433 »

Thank you, but I have already this option ticked
LJG433
Posts: 4
Joined: 1. Apr 2024, 13:23

Re: Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by LJG433 »

The option is ticked for the VM and for the VM inside this VM
LJG433
Posts: 4
Joined: 1. Apr 2024, 13:23

Re: Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by LJG433 »

I am launching virtualbox with Sudo by the way
WFV
Posts: 83
Joined: 7. Mar 2016, 13:28
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: ArchLinux; Fedora; Ubuntu; Win7pro64; WinXP
Contact:

Re: Launch a VM inside a Kali Linux Virtual machine (VERR_VMX_NO_VMX)

Post by WFV »

Post Reply