WhitewaterFoundry / Fedora-Remix-for-WSL

Fedora Remix for Windows Subsystem for Linux.
Other
698 stars 51 forks source link

installation in server mode fails with Error: 0x80070002 The system cannot find the file specified #83

Open ghost opened 4 years ago

ghost commented 4 years ago

Installation as per

Unpacking Linux filesystem image, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 The system cannot find the file specified

Same installation procedures with other distros works without exhibiting the issue and thus it would appear to be a bug specific to this distro.

wsl --list --verbose

  NAME          STATE           VERSION
* kali-linux    Running         2
  Debian        Running         2
ghost commented 4 years ago

Well, curious fix - moved fedoraremix.exe from \Fedora-Remix\DistroLauncher to \Fedora-Remix and the installation succeeded.

Looks a like an issue with packing fedoraremix.exe into the wrong path

crramirez commented 4 years ago

Hello.

This usually happens when C: is not configured as the default drive for new apps installations in Settings.

We will check what you did.

Thanks for reporting

Regards, Carlos

ghost commented 4 years ago

Did not run the appx installer but went with Extract and install a Linux distribution https://docs.microsoft.com/en-us/windows/wsl/install-on-server#extract-and-install-a-linux-distribution on D:/wsl/Fedora-Remix

crramirez commented 4 years ago

Mmm OK thank you for the information. I have never tried this way.

ghost commented 4 years ago

It helps for more flexible disk(:partition) deployment of those containers.

The other distros are packing the binary into the root instead of \DistroLauncher and thus not exhibit the issue.