Giter VIP home page Giter VIP logo

Comments (3)

thusinh1969 avatar thusinh1969 commented on September 23, 2024

Do you know why ? I am about to run one... !

from wslcompact.

maicol07 avatar maicol07 commented on September 23, 2024

I've tried on another PC with other distros and it worked fine. Also, I've retried on the same PC with other Ubuntu distros, and it also worked fine. The only difference between the first run and the other ones is that the temp folder was set to a folder in an external drive (instead it worked when using a different disk partition). Probably this was the issue. I suggest you to export the distro before shrinking the image, in case something goes wrong.

from wslcompact.

bezaisingh avatar bezaisingh commented on September 23, 2024

I used the temp folder on the D drive as the C drive didn't have enough space, and it shrunk the virtual drive from 48GB to 28GB but then corrupted the virtual drive "ext4.vhdx". Also, I want to highlight that my Ubuntu-20.04 was already moved to the D drive, the directory was D:\WpSystem\S-1-5-21-1570390811-2750708149-32824043-1001\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx.

And now when I try to launch wsl it says

Failed to attach disk 'C:\Users\bijay\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx' to WSL2: The APPX file can not be accessed because it is not encrypted as expected.
Error code: Wsl/Service/CreateInstance/MountVhd/0x80070199

from wslcompact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.