Jump to content

Hi, so i'm trying to get a virtual machine working on windows 10, i'm trying to make the virtual machine run Linux Ubuntu and whenever i try to start the virtual machine, it fails to start and i just get these errors. Does anyone have any advice or tips to get it working?

 

 

Failed to open a session for the virtual machine Linux Ubuntu.

 

Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

 

Link to comment
https://linustechtips.com/topic/1136867-issues-with-virtual-machine/
Share on other sites

Link to post
Share on other sites

4 minutes ago, Alice951 said:

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

There's your problem. VT-x or VT-d is disabled. in BIOS.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to post
Share on other sites

Quote

VT-x is disabled in the BIOS for all CPU modes

Either your CPU doesn't support VT-x or, as the message suggests, it is disabled in BIOS.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

6 minutes ago, Alice951 said:

ah ok, i'll have to look into that

Most hypervisors (e.g. Hyper-V, VirtualBox) require hardware support to work. That's not an issue with the guest OS (e.g. Ubuntu). If you don't have hardware support, you can look at QEMU, but it'll be slower if you don't have hardware support for VMs in the CPU.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

33 minutes ago, Eigenvektor said:

Most hypervisors (e.g. Hyper-V, VirtualBox) require hardware support to work. That's not an issue with the guest OS (e.g. Ubuntu). If you don't have hardware support, you can look at QEMU, but it'll be slower if you don't have hardware support for VMs in the CPU.

yeah, i dont think my hardware supports vm's as there is noVT-x in my bios, i'll look into that, thanks

Link to post
Share on other sites

1 minute ago, Alice951 said:

yeah, i dont think my hardware supports vm's as there is noVT-x in my bios, i'll look into that, thanks

What CPU do you have, then we could check. The option isn't necessarily called "VT-x" in BIOS, it may just be called something like "hardware virtualization".

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

4 minutes ago, Alice951 said:

My cpu is the i5 2500k

The 2500k does support VT-x (no VT-d though): Intel® Core™ i5-2500K Processor

 

In my BIOS, the option is under Advanced > CPU > Intel Virtualization Technology. Obviously your BIOS could be different, but look for an option that mentions virtualization. That should be set to enabled.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

15 hours ago, Eigenvektor said:

The 2500k does support VT-x (no VT-d though): Intel® Core™ i5-2500K Processor

 

In my BIOS, the option is under Advanced > CPU > Intel Virtualization Technology. Obviously your BIOS could be different, but look for an option that mentions virtualization. That should be set to enabled.

ok,thanks!

Link to post
Share on other sites

16 hours ago, Eigenvektor said:

The 2500k does support VT-x (no VT-d though): Intel® Core™ i5-2500K Processor

 

In my BIOS, the option is under Advanced > CPU > Intel Virtualization Technology. Obviously your BIOS could be different, but look for an option that mentions virtualization. That should be set to enabled.

image.thumb.png.1ce3b7ed2045b4ecbefd6412712106f5.png

so i no longer get the previous error, however when i attempt to boot it i now get this error and i'm not too sure how to go about changing the kernel

Link to post
Share on other sites

This means you downloaded a 64 bit version of Ubuntu, but the VM/host has a 32 bit CPU. You would need a 32 bit version of Ubuntu (which hasn't been available in years).

 

Are you using a 32 bit version of Windows? Because I think that might the issue here, the 2500k is a 64 bit capable CPU.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

29 minutes ago, Eigenvektor said:

This means you downloaded a 64 bit version of Ubuntu, but the VM/host has a 32 bit CPU. You would need a 32 bit version of Ubuntu (which hasn't been available in years).

 

Are you using a 32 bit version of Windows? Because I think that might the issue here, the 2500k is a 64 bit capable CPU.

i'm running a 64bit version of windows, could it be a setting in virtual box?

Link to post
Share on other sites

31 minutes ago, Eigenvektor said:

This means you downloaded a 64 bit version of Ubuntu, but the VM/host has a 32 bit CPU. You would need a 32 bit version of Ubuntu (which hasn't been available in years).

 

Are you using a 32 bit version of Windows? Because I think that might the issue here, the 2500k is a 64 bit capable CPU.

image.png.82a19ba871dd6d1c28967e9aeb7bd0c8.png

update, my apolgies i hadn't spotted this option

Link to post
Share on other sites

8 minutes ago, Alice951 said:

image.png.82a19ba871dd6d1c28967e9aeb7bd0c8.png

update, my apolgies i hadn't spotted this option

Does it allow you to select 64-bit? I hope so :D Then you should be good to go.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

1 minute ago, Eigenvektor said:

Does it allow you to select 64-bit? I hope so :D Then you should be good to go.

yep it did lol, however i've booted it up and i'm not sure which i should select as i don't wanna affect my actual operating system?

image.thumb.png.150a8e8492411c31a1275885265997fb.png

Link to post
Share on other sites

1 minute ago, Alice951 said:

yep it did lol, however i've booted it up and i'm not sure which i should select as i don't wanna affect my actual operating system?

Everything you do here happens inside the virtual machine, so don't worry about using the whole disk etc. it won't affect your actual PC.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

1 minute ago, Alice951 said:

sorry for being a pain lol, whenever i boot its a tiny window and my resizing options are all grayed out, any tips?

That's normal during boot, because the Grub screen etc. run at a fairly low resolution and the VirtualBox tools aren't active yet. You need to install the VirtualBox guest additions and it should go to full resolution once you've signed in. There's an option to install the guest additions under "Devices" (I think). That should mount a CD in the virtual machine that has the installer on it. You probably need to install kernel header files as a dependency (I think that installer tells you what you need).

 

Alternatively, Ubuntu has the guest additions available in its repository, so you should be able to install them from the software center, but those might not match the version of VirtualBox you have installed.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×