WSL: WSL2: installation got Error: 0x8007001f
System version: Microsoft Windows [Version 10.0.18917.1000]
Issue first came with converting the old wsl to wsl2, got A device attached to the system is not functioning.
Then do wsl --set-default-version 2, and install new wsl from scratch.
got
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007001f
Here is the log while installing
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 7
- Comments: 18 (1 by maintainers)
I had an issue where I installed a distro from the Windows Store and converted it to WSL2, then I uninstalled it and could not install any new distros for WSL from the Windows Store.
Upon attempted install, I would get the folowing error:
After running:
wsl --set-default-version 1I was able to install new distros from the Windows Store and could successfully convert them to WSL2
I think this would be a good time to figure out how to use dnsmasq in WSL as a dns server for windows. It would completely remove the need for Acrylic DNS’s functionality. As a software developer having to find and edit my hosts file every time I need to fake some dns stuff is just a huge pain. Setting up stuff like wildcard dns is so much better and windows just can’t provide that without help. Getting WSL to be able to handle that would be a great step forward in my opinion.
Thanks @jdahlin you reminded me that I had acrylic DNS installed. I removed that and it successfully converted Alpine Linux for me!
I’ve got the same issue. Here’s my logs wsl.zip
Had this same issue whilst installing Debian and disabling the Acrylic service fixed it for me as well.