Skip to content
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 install fails with errors on Windows 10 guest VM #2872

Closed
sirredbeard opened this issue Jan 23, 2018 · 15 comments
Closed

WSL install fails with errors on Windows 10 guest VM #2872

sirredbeard opened this issue Jan 23, 2018 · 15 comments

Comments

@sirredbeard
Copy link
Contributor

***** Your Windows build number:** 10.0.16299.15**

*** What you're doing and what's happening:**

I installed Ubuntu from the Windows Store.

screen shot 2018-01-23 at 3 17 55 pm

When I click Launch, I get this. It's 0x8007007e. I tried searching that error code, nothing very helpful.

screen shot 2018-01-23 at 3 18 03 pm

I tried enabling WSL in Windows Features:

screen shot 2018-01-23 at 3 09 33 pm
screen shot 2018-01-23 at 3 09 40 pm

Which appears to work and then request restart:

screen shot 2018-01-23 at 3 09 47 pm
screen shot 2018-01-23 at 3 09 57 pm

But when I restart, it's disabled again:

screen shot 2018-01-23 at 3 10 48 pm

Attempting to enable the feature via PowerShell gives me this error message:

screen shot 2018-01-23 at 3 12 19 pm

I am running Windows 10 Educational edition in VMware Fusion 10.1.1 (7520154) on macOS 10.13.2 (17C205) on a MacBook Pro 2015.

The VMware image is configured to support hypervisors in the Guest.

screen shot 2018-01-23 at 3 26 18 pm

*** What's wrong / what should be happening instead:**

Users cannot install WSL on VMware Fusion guests.

@sirredbeard
Copy link
Contributor Author

Attempted Troubleshooting

  • Uninstalling and reinstalling Ubuntu app
  • Reinstalling WSL from Windows Features
  • Restarting
  • Ensuring virtualization enabled in VMware Fusion
  • Enabling Developer Mode
  • Installing OpenSUSE Leap 42
    screen shot 2018-01-23 at 3 46 59 pm
    screen shot 2018-01-23 at 3 47 15 pm
  • Running bash and lxrun in cmd in Admin Mode
    screen shot 2018-01-23 at 3 45 00 pm

@sirredbeard
Copy link
Contributor Author

sirredbeard commented Jan 23, 2018

Here is the VMware hardware information.

msinfo.nfo.txt

I would also add that I installed Windows 10 using the Easy Install option in VMware Fusion, if that makes a difference.

@bitcrazed
Copy link
Contributor

bitcrazed commented Jan 23, 2018

Thanks for the great repro capture & sorry you're seeing this.

If LxRun.exe is not available, it looks like WSL itself isn't getting enabled on your machine! We'll get back to you soon.

Note: WSL doesn't use Hyper-V nor any hypervisor infrastructure so this shouldn't be anything to do with nested VM's etc.

@therealkenc
Copy link
Collaborator

Ref #2832 #2851 #2818 et al, albeit with slightly different modes of failure. It isn't going to be a "Guest VM" thing (that's my setup here; it works fine). We're flying multiple layers above with this fail. As a quick data point, is the Windows OS in your VM activated? slmgr /xpr or:

PS> Get-CimInstance -ClassName SoftwareLicensingProduct | where PartialProductKey | select Name, ApplicationId, LicenseStatus

Not saying that's the problem; just eliminating a variable. For some reason it is raining "one or more parent features are disabled so parent feature can not be enabled", whereas we weren't seeing them in volume previously.

@sirredbeard
Copy link
Contributor Author

@therealkenc

Windows is fully activated with a license tied to my Microsoft account.

screen shot 2018-01-23 at 5 05 18 pm
screen shot 2018-01-23 at 5 05 40 pm
screen shot 2018-01-23 at 5 06 28 pm

It sounds most similar to reports in #2832, in particular this one.

I am not getting the same error as in #2851, I get:

'bash' is not recognized as an internal or external command, operable program or batch file.

and #2818 involves upgrading from legacy WSL to the store, I am trying to install WSL on a fresh Windows 10 install.

@bitcrazed
Copy link
Contributor

@sirredbeard - could you please email me: richturn at you know where dot com?

@sirredbeard
Copy link
Contributor Author

I performed a clean install of Windows 10, enabled WSL from Windows Features before installing Ubuntu from the Store, and have been unable to duplicate the problem.

If the issue occurs again, I will file requested logs.

@bitcrazed
Copy link
Contributor

bitcrazed commented Jan 25, 2018

@sirredbeard - Thanks for letting us know. Glad you're unblocked.

If you or anyone else can repro this issue, please capture the logs below and reach out to taraj at you know where dot com to arrange receipt of said logs so that we can diagnose.

TIA.

@sirredbeard
Copy link
Contributor Author

@bitcrazed

Unfortunately I had wiped the old image before I got your request for logs. I need a bigger hard drive.

@bitcrazed
Copy link
Contributor

LOL. No problem. Thanks for reporting anyhow.

We do have an internally tracked issue that may describe the root cause of the issue. When fixed, this should resolve at least one possible cause ;)

@ideal2545
Copy link

I'm also having this issue, any luck with a fix? I just can't launch bash.exe it just sits at a black screen, and then eventually I get an error. I look and I can't seem to get the service to run.

@Biswa96
Copy link

Biswa96 commented Apr 27, 2018

Which virtualization program do you use? I can install WSL in VirutalBox VM (haven't tried Store Apps).

@bitcrazed
Copy link
Contributor

@ideal2545 -

  1. Do you have WSL enabled & have you rebooted since enabling? Run the following from an elevated Cmd/PowerShell prompt to double-check you've got WSL enabled:
Get-WindowsOptionalFeature -FeatureName microsoft-windows-subsystem-linux -online
  1. Do you have 3rd party Anti Virus installed?
  2. What do you see when you run wslconfig /l from Cmd/PowerShell?

@ideal2545
Copy link

@Biswa96 I am using VMware fusion pro (8.5 and 10)

@bitcrazed

  1. WSL is enabled based on that.
  2. No Anti Virus
  3. wslconfig /l - results in error: 0x800880005

P.S. I have been able to reproduce this on two machines now - both from clean/scratch without too much configuration.

@papersaltserver
Copy link

I have had the same problem on a physical machine having Insider Build 10.0.18356.1
All the symptoms were equal: feature enabled, lxrun not found, wslconfig /l shows no distros. https://aka.ms/wslstore link not working.
To fix this, I've found Ubuntu in Windows Store and installed it. Right after installation, nothing worked as well. Then I've opened Windows Store once again and pressed Launch for Ubuntu there. It has done some initialization and "bash" command started to work after that, however "lxrun" still shows "not found"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants