-
Notifications
You must be signed in to change notification settings - Fork 590
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 upgrade to version 2 even when Virtual Machine Platform is enabled #404
Comments
Reboot After enable-Windows feature ? |
I'm facing the same issue, even after reboot |
Same issue here. It could be that Virtual Machine Platform cannot be installed on Windows 10 Home Insider Preview, making this a Pro only feature. I hope that is not the case. |
Same issue, "Virtual Machine Platform" is checked on Features Panel, but still print "Please enable the Virtual Machine Platform Windows feature." . |
Same issue, and I installed Windows 10 Pro Insider Preview. |
I solved it on my PC. |
Enabling virtualization appears to be working on my system; I can't believe I didn't think of doing that. The error message and/or docs should be updated to reflect that you need virtualization on as well. |
Good suggestion, I will update the error message and documentation. |
I am attempting to install WSL 2 on Parallels Desktop 14 Home Edition, but it seems the enabling virtualization feature (Parallels calls it Nested Virtualization) has been moved to the Pro edition only. Is there another way to enable virtualization or am I out of luck while using Home Edition? I apologize if there is a simple fix for this, I am new to Windows. |
I hit same issue, hadn't realized a BIOS upgrade had turned off VT - thanks. |
i mean it should show an error |
I had the same issue due to virtualization being disabled in BIOS. Before the fix, Bash shell command uname says it's running Linux 4.4. I guess that's what the MS system call emulator call itself. In Powershell, the conversion command... wsl --set-version Ubuntu 2 ...should print "Conversion complete." PS C:\WINDOWS\system32> wsl -l -v
After the fix, the real Linux kernel is running in a VM, so the kernel's uname version is 4.19 : bob@craterlake:~$ uname -a (note: craterlake is just the name of my PC) Apparently this kernel was compiled over lunch on May 20 :-) |
"Please enable the Virtual Machine Platform Windows feature." same problem for me too. Did anyone get any easy fix? |
I fix it by launching both commands in an admin terminal. Use another session cause error message appear. |
Even with virtualization enabled in the BIOS and those two features enabled via Powershell, I still get this error:
|
the same issue under Surface Book 2 . |
Hello all,
My laptop is Lenovo G40.
1. I had to change the windows version to 1903 (OSbuild 18917) to complete
the installation (can check your version by typing winver).
2. I had to go to the Windows Update Assistant for the version update and
changed the insider setting to "fast" to get the build upgrade the next
day. 3. After enabling virtual machine environment through PowerShell
(admin), it still showed "virtualization not enabled". For lenovo G40,
after shutdown, I used novo button to go to bios set up and enable intel
virtualization. (doesn't show the UEFI option through windows 10).
Then all the commands worked and it's showing wsl version 2.
One more question: when is the windows terminal going to be available? Can
I use that now? I am a beginner.
…On Tue, Jun 18, 2019 at 9:35 PM Shibo Wei ***@***.***> wrote:
the same issue under Surface Book 2 .
i can't find the VT option and then to enable it in UEFI panel of Surface
Book 2 .
so , anybody else have solutions ?
thx
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#404?email_source=notifications&email_token=ALRMMUIT6BVREWXZSXTBFZ3P3GLQZA5CNFSM4HXVV6YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAQCGI#issuecomment-503382297>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALRMMUM764P2WG4Q7NGY5EDP3GLQZANCNFSM4HXVV6YA>
.
|
Is WSL 2 available on the recently released Windows Server 18917 SAC (core edition) ISO? I've already enabled VirtualMachinePlatform feature and rebooted. CPU has virtualization extensions enabled. Yet, wsl is not a valid command. I did install Microsoft-Windows-Subsystem-Linux but this appears to be v1. |
Unable to execute WSL commands as the flags --set-version and --list --verbose are unknown |
@blkwtch 18362 is still less than 18917 and wsl v2 requires 18917 or newer. In addition, documentation fails to mention that to get WSL, you also need to enable this feature: Microsoft-Windows-Subsystem-Linux in addition to VirtualMachinePlatform just for WSL to be a valid command. |
@tristanbarcelon the WSL 2 install docs have been updated to include build number required and that you need WSL installed with a link of how to do so. This thread is for the specific issue of seeing the error 'Please enable the virtual machine platform' when it is already enabled, and we're working on resolving that error. If you have other questions, or issues, I'd ask that you please open a new issue so we can address them there. Thanks for your help! |
@tristanbarcelon
|
@mscraigloewen , sorry didn't mean to cross post. I did follow WSL 2 install docs posted and nowhere does it state that WSL (v1) must already be installed. Once WSL v1 was installed, everything does work. When VirtualMachinePlatform is being enabled via DISM, is DISM checking to see whether virtualization features are enabled before proceeding? It didn't seem to. In my situation, I installed Windows 10 18917 on a VM but I had forgotten to enable virtualization features first before attempting to install WSL 1/2. It required me to delete, recreate the vm, run |
@scyto I've added the command to enable WSL to the troubleshooting section of the install page to make it clearer for users running into a similar issue. @tristanbarcelon no I don't believe DISM does check for that. I believe the sidebar conversation's are now resolved, so please for any further questions or comments that aren't related to the original issue I'd request that you open a new issue and we can continue the discussion there rather than cluttering notifications of users watching this specific issue. |
Left some tips for installing Windows in VM. I installed Windows 10 in VMware Workstation, and the build version is 18922.
After that, I successfully upgrade my WSL to version 2. Thanks for all you comments. |
I have checked that virtualization is enabled I'm still getting errors: depending on how I try and get Ubuntu to update to wsl 2 Edit: I got it working: |
Hello all,
I upgraded to new windows 10 for using wsl2. I am now running into a lot of
troubles.
1. My microsoft store is no longer working. It says you are not connected
to the internet, although wifi is connected, I can browse, download
everything.
2. Now even better: my WSL, WSL2 stopped working altogether. If I run
bash.exe, it says "A device attached to the system is not functioning.".
Nothing is attached. What happened, no clue.
Does anyone have any suggestions for me? I feel like this is the dumbest
thing I have done ever.
Regards
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
06/26/19,
06:17:01 PM
…On Tue, Jun 25, 2019 at 7:41 PM Radio-Broadcast ***@***.***> wrote:
I have checked that virtualization is enabled I'm still getting errors:
0xc03a001a - operation could not be completed due to a virtual disk system
limitation.
or
Error: 0x80370109 The operation timed out because a response was not
received from the virtual machine or container.
depending on how I try and get Ubuntu to update to wsl 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#404?email_source=notifications&email_token=ALRMMUNPBKEW4ZIEFAPE5CTP4K3NDA5CNFSM4HXVV6YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYR7JBY#issuecomment-505672839>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALRMMUOGQIAS5MDE2KGH4HTP4K3NDANCNFSM4HXVV6YA>
.
|
As described in #436 I was getting 0x80370102 and as suggested by @mscraigloewen I enabled virtualization in the horrid HP / AM BIOS. But then ended up in a weird state where the store throught Ubuntu was installed and let me launch it but I tried re enabling the Platform and WSL but they were happy and said no reset needed. So now I'm stuck :) |
Uninstalling Windows Subsystem for Linux Update and then reinstalling it fixed the problem without requiring a reboot. I verified that WSL 1 was working by installing a second WSL Linux Ubuntu 18.04 from the MS Store that worked fine while the WSL 2 upgraded Linux for Ubuntu from the MS Store complained about upgrading the kernel. I tried all the other stuff in this thread but WSL 2 was previously working fine. Also these 2 commands in a Admin Console are a lifesaver and fix the MS Store not working and other weird broken Windows stuff. I ran them before uninstalling and then reinstall WSL and Virtual Machine Platform. |
Hi all,
Whenever I try to use sudo apt-get update && sudo apt-get upgrade
it shows the following error:
Temporary failure resolving 'archive.ubuntu.com'
Can anyone please share some thoughts?
Md Maksudul Hossain
Graduate Research Assistant
…On Fri, May 1, 2020 at 2:02 AM luminiscence ***@***.***> wrote:
I've turned on slow ring of Insider Preview program,
[image: image]
<https://user-images.githubusercontent.com/15375180/80788559-a2812180-8bb3-11ea-9bfd-459ccb842744.png>
Checked that virtualization is enabled
[image: image]
<https://user-images.githubusercontent.com/15375180/80788465-65b52a80-8bb3-11ea-9961-3d2e1687f1b5.png>
Windows subsystem for Linux and Virtual Machine Platform components are
also installed
[image: image]
<https://user-images.githubusercontent.com/15375180/80788634-e1af7280-8bb3-11ea-9ff7-1466dc38f95b.png>
And even more, yesterday I played with vagrant with VirtualBox virtual
machine and all went fine. WSL1 also worked for me, but with WSL2 I have
this
[image: image]
<https://user-images.githubusercontent.com/15375180/80788744-26d3a480-8bb4-11ea-8633-9928978ec812.png>
and have no idea what I can do to fix it. WSL1, as mentioned before, is
also broken, so instead of having new feature I've lost existing. Can you
help me?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALRMMUNMWORMJAWX6FHFUXTRPJXY3ANCNFSM4HXVV6YA>
.
|
worked for me, uncompressed AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows... |
@freegnu same problem on 2004.. |
The same happening here. |
hello so wsl 1 doesn`t even work. |
Yes! There was a link to update the WSL 2 Kernel: In my case, I had to run it twice, and everything is working. |
Yeah, same here, needed some help to resolve this |
the version 2 upgrade worked after I enabled intel virtualization technology in BIOS>advance, good luck everybody and have a beautiful day |
I find the final solution when nothing else gets Windows 10 to behave as it
should. Run the upgrade after downloading the Windows 10 installer/upgrader
from Microsoft. Make sure the installer is for the same version of Windows
10 as you have installed AKA 2004 at this point in time. Fixes all major
problems immediately without having to reinstall or recreate your account,
settings, and apps but doesn't prevent the bit rot from settling in again
over time.
…On Sun, Jul 26, 2020 at 11:41 PM Robinzon ***@***.***> wrote:
the version 2 upgrade worked after I enabled intel virtualization
technology in *BIOS>advance*,
if you can't find what I'm talking about or where's the option ill be glad
to take pictures of the bios
good luck everybody and have a beautiful day
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPOFGPJTYZP7VDZYNMKH3R5TZORANCNFSM4HXVV6YA>
.
|
Hello,
When I try to sudo apt-get update or upgrade, it shows the follows error:
Temporary failure resolving 'archive.ubuntu.com'
Mine is wsl2 and I am using Ubuntu 20.04.1 LTS. ping is not working either.
It says "ping: google.com: Temporary failure in name resolution"
It was working fine before. I have tried a few solutions e.g. changing
nameserver in /etc/resolv.conf, removing this file. Can anyone help me,
please?
On Fri, May 1, 2020, 3:03 AM Maksudul Hossain Jewel <jewelmaksud@gmail.com>
wrote:
… Hi all,
Whenever I try to use sudo apt-get update && sudo apt-get upgrade
it shows the following error:
Temporary failure resolving 'archive.ubuntu.com'
Can anyone please share some thoughts?
Md Maksudul Hossain
Graduate Research Assistant
On Fri, May 1, 2020 at 2:02 AM luminiscence ***@***.***>
wrote:
> I've turned on slow ring of Insider Preview program,
> [image: image]
> <https://user-images.githubusercontent.com/15375180/80788559-a2812180-8bb3-11ea-9bfd-459ccb842744.png>
> Checked that virtualization is enabled
> [image: image]
> <https://user-images.githubusercontent.com/15375180/80788465-65b52a80-8bb3-11ea-9961-3d2e1687f1b5.png>
> Windows subsystem for Linux and Virtual Machine Platform components are
> also installed
> [image: image]
> <https://user-images.githubusercontent.com/15375180/80788634-e1af7280-8bb3-11ea-9ff7-1466dc38f95b.png>
> And even more, yesterday I played with vagrant with VirtualBox virtual
> machine and all went fine. WSL1 also worked for me, but with WSL2 I have
> this
> [image: image]
> <https://user-images.githubusercontent.com/15375180/80788744-26d3a480-8bb4-11ea-8633-9928978ec812.png>
> and have no idea what I can do to fix it. WSL1, as mentioned before, is
> also broken, so instead of having new feature I've lost existing. Can you
> help me?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#404 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALRMMUNMWORMJAWX6FHFUXTRPJXY3ANCNFSM4HXVV6YA>
> .
>
|
@MdMaksudulHossain assuming you don't have fundamental connectivity issue try this microsoft/WSL#5256 (comment) |
Dear altruists,
I installed chocolatey, fluent terminal, zsh, Oh My ZSH yesterday to get
some new experience. It was all going well. I could run both windows
terminal and fluent terminal. Today WSL is no longer launching. I have
tried wsl, bash, windows terminal, ubuntu terminal everything. All of them
just show a cursor on a blank screen, nothing really starts. What could
possibly go wrong?
Best regards,
Maksud
…On Tue, Aug 11, 2020 at 6:23 PM scyto ***@***.***> wrote:
@MdMaksudulHossain <https://github.com/MdMaksudulHossain> assuming you
don't have fundamental connectivity issue try this microsoft/WSL#5256
(comment)
<microsoft/WSL#5256 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALRMMUJQQR6EZM2JCRRDOKTSAHHGDANCNFSM4HXVV6YA>
.
|
I had this happen on Windows Terminal. I had upgraded my bios and the CPU
virtualization was off by default in the bios.
On Wed, Sep 2, 2020 at 2:50 PM MdMaksudulHossain <notifications@github.com>
wrote:
… Dear altruists,
I installed chocolatey, fluent terminal, zsh, Oh My ZSH yesterday to get
some new experience. It was all going well. I could run both windows
terminal and fluent terminal. Today WSL is no longer launching. I have
tried wsl, bash, windows terminal, ubuntu terminal everything. All of them
just show a cursor on a blank screen, nothing really starts. What could
possibly go wrong?
Best regards,
Maksud
On Tue, Aug 11, 2020 at 6:23 PM scyto ***@***.***> wrote:
> @MdMaksudulHossain <https://github.com/MdMaksudulHossain> assuming you
> don't have fundamental connectivity issue try this microsoft/WSL#5256
> (comment)
> <microsoft/WSL#5256 (comment)>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#404 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ALRMMUJQQR6EZM2JCRRDOKTSAHHGDANCNFSM4HXVV6YA
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPOFDXQHSPJQS2OCOC5QTSD2HY7ANCNFSM4HXVV6YA>
.
|
I have AMD processor, same problem |
Reinstalling the WSL2 kernel fixed the issue for me Thanks |
Are you using a virtual machine? if yes you need to enable nested virtualization. In my case, i am using parallel and i faced the same issue. After enabling nested virtualization, WSL2 WORKED. |
This also caused my machine not to boot. Trying to undo by running the other command didn't work in safe mode's command prompt. I'm stuck in a failed Win10 boot loop :( Buyer beware |
Try running Dism.exe /online /Cleanup-Image /StartComponentCleanup & dism
/online /cleanup-image /restorehealth & sfc /scannow
|
I managed to update to wsl2 like this:
|
try this: |
wsl --set-version Ubuntu 2
…On Tue, Mar 2, 2021 at 3:58 AM Yi Qiang Ji ***@***.***> wrote:
I have the same issue, read all the Issueas above but none of them are
working for me!
Here is what I get:
[image: image]
<https://user-images.githubusercontent.com/68460056/109623819-d31c4980-7b3d-11eb-8c46-d456a1761d98.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPOFECM652RZDOLUFJQD3TBSSERANCNFSM4HXVV6YA>
.
|
combination of these commands helped. |
For those who have WSL1 installed, make sure to run |
I have enabled the VirtualMachinePlatform as instructed, but I am still unable to upgrade my distribution to version 2:
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: