Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start even though hardware virt is enabled #8107

Closed
1 of 2 tasks
wx4cb opened this issue Mar 1, 2022 · 8 comments
Closed
1 of 2 tasks

Cannot start even though hardware virt is enabled #8107

wx4cb opened this issue Mar 1, 2022 · 8 comments

Comments

@wx4cb
Copy link

wx4cb commented Mar 1, 2022

Version

Windows 11 [Version 10.0.22000.527] - all up to date

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.60.1

Distro Version

ubuntu 20.04 (from store)

Other Software

Clean fresh install - only extra programs are the nvidia drivers for the 1650gt, cpu-Z, services for NFS are there to access my NFS shares on my server
I have tried all the bcdedit stuff that i can find on google.

PLEASE NOTE: WSL ran perfectly fine under windows 10 pro

Repro Steps

Enabled Hardware virtualisation in the bios

Installed hyperV, virtual environment platform, windows subsystem for linux from "add/remove windows features" and rebooted when requested

Installed Ubuntu and Ubuntu 20.04 from the MS store

Ran windows update to make sure no outstanding updates

rebooted when requested

run ubuntu (and ubuntu 20.04) from start menu

Expected Behavior

Ubuntu runs in a window

Actual Behavior

running "ubuntu" and "ubuntu2004" from the command line (cmd.exe) results in the following errors:

Installing, This may take a few minutes
WslRegisterDistribution failed with error 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

When running "ubuntu2004":

Installing, This may take a few minutes
WslRegisterDistribution failed with error 0x80370102
Please enable virtual machine platform windows feature and ensure virtualisation is enabled in the bios

Screen-3-1-2022_114917_AM
Screen-3-1-2022_114938_AM

image
image
image

Diagnostic Logs

No response

@wx4cb
Copy link
Author

wx4cb commented Mar 1, 2022

ok update.... if i set it to wsl1 it works, but i want WSL-2 not 1 for the gui access

wsl --set-default-version 1

@abdurraheemali
Copy link

Same thing happens on my machine.

@wx4cb
Copy link
Author

wx4cb commented Mar 1, 2022

Same thing happens on my machine.

i've seen plenty of issues on here about it but the fixes in there dont work here... i know it's not the fastest machine in the world, but it runs perfectly fine for testing stuff.

and ran perfectly fine in win10

@0xbadfca11
Copy link

@wx4cb
Copy link
Author

wx4cb commented Mar 2, 2022

Pentium E5700 is too old CPU. https://www.intel.com/content/www/us/en/support/articles/000034303/processors.html

i'm not disputing it's an old cpu, but it ran wsl2 perfectly fine on windows 10, runs virtualbox perfectly fine. and it has VT-x on it as you can see in the cpu-z screenshots. I will give that sysinfo thing a look when im in the office

@0xbadfca11
Copy link

No matter how other software uses the CPU features, WSL2 requires SLAT and the Pentium E5700 does not support SLAT (as known as Intel Extended Page Tables).
SLAT is an extension of VT-x and the word "VT-x" may or may not include SLAT. CPU-Z doesn't seem to include.

@daviangel
Copy link

daviangel commented Mar 4, 2022

Pentium E5700 is too old CPU. https://www.intel.com/content/www/us/en/support/articles/000034303/processors.html

Well just ran into this issue on my 12th Intel i5-12600K cpu.
Weird thing is have works fine in one version of Windows 11 I'm running, In the second copy of Windows 11 on same machine the only difference in the one that doesn't work is that I downloaded and tried to install Ubuntu from the Microsoft app store before enabling the Linux subsystem and after trying to correct that nothing seemed to work except setting wsl to version 1 as mentioned above!
Typing systeminfo in terminal will give you quick hyper-v info
PS C:\Users\davia> systeminfo

Host Name: GAMINGPC
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: more0236
Registered Organization:
Product ID: 00330-80000-00000-AA981
Original Install Date: 2/22/2022, 5:09:20 PM
System Boot Time: 3/3/2022, 8:40:25 PM
System Manufacturer: Micro-Star International Co., Ltd.
System Model: MS-7D25
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 151 Stepping 2 GenuineIntel ~3700 Mhz

Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes

If I try to re-enable wsl version 2 once again get error about missing virualization
wsl --set-default-version 2
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants