-
Notifications
You must be signed in to change notification settings - Fork 852
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
WSL2 does not changes state from Stopped to Running #5406
Comments
WAG, doing your steps 5-7 as administrator could be problematic. Try this:
See if that takes at least. |
@therealkenc Thanks for the answer. I have tried all your steps, and I have this: The What I can do now? |
Short answer: push forward with Ubuntu-18.04. You can post detailed logs of the |
lxcore_log.zip |
Any interesting prints in dmesg while you try to run the Ubuntu distro? You can check this by running the below commands:
|
@benhillis Yes it says:
|
Interestingly enough, i had the same problem after playing a bit with enabling and disabling hyper-v and virtual machines support (while trying to configure virtualbox to work with wsl2). No success on the virtualbox side (probably will look into vmware workstation or play with direct hyper-v machines), but for the wsl2 none of the solutions above worked (also because i didn't want to loose my fully configured ubuntu instance). What worked for me was:
Probably just running |
Hi. MsiExec.exe /i DockerDesktop.msi INSTALLDIR=E:\Docker /qn You must download MSI installation of Docker desktop: https://hub.docker.com/editions/community/docker-desktop-ent |
Windows ver: Microsoft Windows [Versión 10.0.19042.1083] I deleted old folder with the virtual image in this case: |
Hello. Try with this. It works for me. |
@GilHyeon 한국분 반갑습니다. |
@newbiediver 반갑습니다 |
Your last step was enough to make mine work after so much debugging, thank you so much! |
had this issue when i tried uninstalling zsh with this command sudo apt-get --purge remove zsh |
I used Then I try Now |
Please report the issue in that move-wsl repository. |
I tried all of these. then i reinstalled ubuntu and the problem was solved. ty |
This saved my life to start WSL Ubuntu |
1.in Turn windows features o/off, disable Hyper-V, Virtual Machines Platform, Windows Hypervisor Platform and Windows subsystem for Linux. then it worked. |
This did it for me :
|
Environment
Windows build number: [run
[Environment]::OSVersion
for powershell, orver
for cmd]:Microsoft Windows [Versión 10.0.19041.329]
Your Distribution version: [On Debian or Ubuntu run
lsb_release -r
in WSL]:Ubuntu
Whether the issue is on WSL 2 and/or WSL 1: [run
cat /proc/version
in WSL]:WSL1 and WSL2
Steps to reproduce
Yesterday I updated Windows 10 from 1909 to 2004 to install WSL2. I did these steps:
Typed this on PowerShell as Administrator:
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Reboot Windows
Installed this as Administrator:
wsl_update_x64.msi
Reboot Windows
Typed this on PowerShell as Administrator:
wsl --set-default-version 2
Typed this on PowerShell as Administrator:
wsl --set-version Ubuntu 2
Typed this on PowerShell as Administrator:
wsl --list --verbose
After I did all the steps above, I got this:
Expected behavior
WSL starts normally, but it does not.
Actual behavior
I typed
wsl
on PowerShell, and nothing happens.I clicked on the WSL-Ubuntu icon on Dekstop, and a command line windows appear, and closes immediately.
Never I can see
State: Running
when I typed:wsl --list --verbose
. Always isStopped
.The text was updated successfully, but these errors were encountered: