WSL: wsl --import Unspecified Error / The specified network name is no longer available.
-
Your Windows build number: Microsoft Windows [Version 10.0.19041.21]
-
What you’re doing and what’s happening: Exported Ubuntu from C Drive due to size issues. I now have a .tar sitting on
D:\Ubuntu.tarTrying to import the file yieldsUnspecified ErrororThe specified network name is no longer available.Command executed:wsl --import Ubuntu-18.04 d:\WSL\Ubuntu-18.04\ d:\Ubuntu.tar -
What’s wrong / what should be happening instead: This shouldn’t happen, the Distro should import.
-
For WSL launch issues, please [collect detailed logs] logs.zip Logs attached!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 12
- Comments: 19 (1 by maintainers)
What worked for me was importing the WSL 2 distribution as WSL 1 using
--import ... --version 1, and then convert it to version 2 using--set-version.Same for me.
@nimamahmoudi solution of importing as v1 then converting was the only one that worked for me.
I got same sutiation, after that I set “swap=120GB” in .wslconfig file, it worked! @Kristof-Mattei this may be memory lack caused
None of these work for me, I’ve tried importing as
v1as well as modifying.wslconfig. No luck. Also triedwsl --shutdownand then issuing that command.Only thing that worked for me was importing as v1 and turning it into v2.