-
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
WSL Linux Images fail to install #4487
Comments
From looking at the logs it looks like the root of the issue is an access denied error coming from trying to grant an ACL to the distro VHD. Could you take a look in the various Hyper-V logs in eventvwr to see if anything sticks out? Applications and Services Logs -> Microsoft -> Windows -> Hyper-V* |
@benhillis I looked at all Hyper-V* logs, both Admin and Operational. They are all 'Information' or 'Verbose'. There are no Errors or Warnings. I repro'd the issue and took a look at the latest timestamps and nothing stands out as any type of issue. I also tried turning off WSL and Virtual Machine Platform, rebooting, turning them back on, and rebooting. |
Something strange is going on with permissions in your appdata directory. Can you think of anything specific to your setup around permissions in your apps? Could you provide the output of this command (please redact your user name)? Are you able to import distros to non-store locations? |
|
@rayzorben - There is no ext4.vhdx in that path? |
The directory is empty. Looks like I can import distros to non-store locations
|
@rayzorben - Interesting... that's what I suspected. Can you think of any settings you have modified? Perhaps installing store apps to non-system drive? |
@benhillis Well you pointed me the right direction. I started investigating and I found a JUNCTION in c:\users\me\AppData\Local called "Application Data" that pointed to -> c:\users\me\AppData\Local I'm not sure if that was the issue, but I removed that junction, and then I did After doing that, Ubuntu starts fine and asked me for a username/pass and gave me a shell! |
Had the same issue after uninstalling Ubuntu (since it didn't start anymore) and wanted to reinstall. Deleting the distro directory (which had some left-overs) and retrying to install worked too. |
Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to secure@microsoft.com. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:
Your Windows build number: 1903 18975.1000
What you're doing and what's happening: Virtual Machine Platform is enabled. So is Windows Subsytem for Linux. I am trying to download Ubuntu for WSL from Windows Store. I download it, and try to install it, but I get
If I try it again I get
I have tried the following:
All 3 still have the same issue.
I have also tried:
What's wrong / what should be happening instead:
Strace of the failing command, if applicable: (If
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).For WSL launch issues, please collect detailed logs.
logs.zip
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: