-
Notifications
You must be signed in to change notification settings - Fork 847
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
Version 2.3.26 renders my vhdx WSL2 inoperable, revert to 2.3.24 solves the issue. #12264
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
/emailed-logs |
Diagnostic information
|
Thanks for posting this 😁, I had the exact same issue, downgrading fixed it. |
Same problem and solution here too. In case anybody is wondering about how you downgrade: just grab the MSI for the version you want from here and install it. |
Windows Version
Microsoft Windows [Version 10.0.22631.4317]
WSL Version
0.0.0.0 but 2.3.26.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Debian 11
Other Software
Corporate Windows with blocked Microsoft Store.
Repro Steps
After automatic upgrade, described in the event logs as
9P9TQF7MRM4R-MicrosoftCorporationII.WindowsSubsystemforLinux
, WSL was nowhere to find. Running wsl.exe gave a messageFailed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/ERROR_FILE_NOT_FOUND
.I use a Debian installation and it's stored at
%homedir%\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalState\ext4.vhdx
, not at the default path.I tried to pick the distro from the wsl settings, specifying path to the
ext4.vhdx
file, but it is not possible to pick the vhdx file in the settings, only vhd. After converting I got an E_ACCESSDENIED error, so that was not an option either.Eventually I reverted back to version 2.3.24.0 and wsl started to work again.
Expected Behavior
I would like to have a working version of WSL after automatic upgrade :-)
Actual Behavior
wsl.exe gives
Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/ERROR_FILE_NOT_FOUND
also wsl settings doesn't allow me to pick files with
.vhdx
suffixDiagnostic Logs
No response
The text was updated successfully, but these errors were encountered: