-
Notifications
You must be signed in to change notification settings - Fork 842
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 WSL 2, I'm getting this error (The system cannot find the file specified.) #6341
Comments
@licanhua can you please help me now? |
Thanks for your logs. Unfortunately it doesn't provide the information I need. If I understand your scenario correctly, you were actually using WSL 2, and then you backed up your system as .vhdx. (only wsl 2 use vhdx).
|
sir, You meant? should I want to do this now? or you are guuessing that this is how I have done previously? |
@benhillis Do you have any idea why this happen, or continue the investigation? Log is provided, but there is no WSL or network logs in it. |
@licanhua - where is the file not found error coming from? |
I have no idea because there is no log. network? |
@nagarajcruze, can you check if C:\Windows\System32\VmSynthNic.dll exists |
I did not see any repro logs attached to the feedback hub item. |
@licanhua yup, it is there. |
You can try collect logs via logman |
Done, Look at it, please. |
@benhillis The error is raised when creating the network. @nagarajcruze I don't know too much about the networking. Here are two workarounds from the community which may help on your problem:
|
@licanhua netcfg -d removed all my network drivers, now the drivers are not getting installed automatically, I can't access to the internet. 😐 And also i tried to install kali-linux wsl 2, again the same error. |
very sorry to hear that. Have you reboot the machine after the change? |
Yes, i have rebooted. Then nothing worked. Installed network drivers from official site, nothing worked, did network reset, nothing worked, now I'm taking backup of my files and going to reset Windows. |
I followed these steps, but can't upgrade to WSL-2. So, I think this is about the version of Windows 10 we have (Version 20H2 OS Build 19042.685), which seems doesn't support WLS-2 yet. |
@nagarajcruze I would try Network troubleshooter first which is in settings page @huserman what's your error? I'm with 10.0.19042.630 and didn't see WSL 2 error, so your OS should support WSL2 except you are using Windows Server, or some OEM version(possible) |
There are no errors, after successfully running all the necessary steps - when I execute UPD: Ok, resolved in my case after restarting. Just installed Debian and |
In the steps above, after the 2nd step I can't install from Store, after I downlead the distro then I press the launch button, the same error will get throwed in the CMD, so it's failed. But I was using WSL 2 in 20H2 without any problems, I just made some mistakes and caused those errors. |
I tried that too, No luck. It said everything is fine. Even after I did this "netcfg -d" I lost all my network adapters and of course I can't access to the internet, still Network troubleshooter said, everything is fine, xD. |
Finally, I solved my problem by resetting my Windows, I lost all my Apps and settings but that's not a problem. |
yes. |
@licanhua @benhillis Thanks for the help. |
Environment
Steps to reproduce
WSL logs:
This is my feedback
https://aka.ms/AAamegk
Expected behavior
I want to use wsl 2 distros instead wsl 1.
Actual behavior
If I install any distro from Microsoft store, by setting WSL version 1 by default, then i can install any distro and works fine.
Like in this image
If I change WSL default version to 2 then installing any version gives this error.
Same will happen even after installing distro as WSL version 1 then upgrading to WSL version 2.
Any fixes I tried before opening this issue?
Yes,
Finally,
Again Uninstalled everything like 3rd step, also turned off Windows Optional Features ( Windows Subsystem for Linux , Virtual Machine Platform, Windows Hypervisor Platform) and did everything from first following this https://docs.microsoft.com/en-us/windows/wsl/install-win10 fixed, NO.
I don't understand anything, say in simple words, From where/when the problem started?
After I overwrite my backed-up ubuntu.vhdx file with the freshly installed ubuntu.vhdx file.
The text was updated successfully, but these errors were encountered: