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

ex64.vhdx file is missing #769

Open
spmolnar opened this issue Jun 24, 2023 · 1 comment
Open

ex64.vhdx file is missing #769

spmolnar opened this issue Jun 24, 2023 · 1 comment

Comments

@spmolnar
Copy link

Due to a system failure it became necessary for me to reinstall Pengwing on my Wiindows 10 Laptop.. The download and installation from the Microsoft Store generated no warnings or errors.

However the installation generated the error:

Failed to attach disk 'C:\Users\Stephen\AppData\Local\Packages\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\LocalState\ext4.vhdx' to WSL2: The system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/MountVhd/ERROR_FILE_NOT_FOUND
Press any key to continue...

The ex64.vhdx file was missing from the LocalState subdirectory.

A repeat attempt to download the file from the Microsoft Store, after removing the previus files, generated the same result.

A solution will be much appreciated.

Thanks in advance.

@crramirez
Copy link
Collaborator

crramirez commented Jun 26, 2023

Hello @spmolnar

Sometimes WSL gets crazy and behaves very strangely. I recommend you to shutdown wsl with executing in PowerShell or Command Prompt.

wsl --shutdown

Then unregister Pengwin with:

wsl --unregister WLinux

Now do this:

  1. Search in your start menu an application called "Windows Subsystem for Linux" and uninstall it
    This will uninstall the Store version of WSL, replacing it with the built-in one. Don't worry. It won't affect your installed distributions.

  2. Restart Windows.

  3. Run wsl --update --inbox to update the built-in version.

  4. Install Pengwin again. I think it should work now.

  5. Run wsl --update to reinstall the store version.

Hope it helps

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

2 participants