Comments (3)
Do you know why ? I am about to run one... !
from wslcompact.
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.
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)
- " A parameter cannot be found that matches parameter name 'DestinationPath'." when following install instructions HOT 2
- Needs 0MB of free space HOT 3
- wslcompact doesn't release space, despite available space HOT 1
- Compact failed HOT 2
- File being used by another process error
- installation broken: "Internet Explorer engine is not available" HOT 1
- Cannot create a file when that file already exists HOT 1
- Applet not found after installing it successfuly HOT 1
- Weird error message about free space HOT 4
- Please stop the infringement
- 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
- Memory usage 8GB+
- wsl corrupted after compacted HOT 6
- CreateProcessEntryCommon:577: execvpe / failed 13
- How to clear the swap.vhdx at first?
- Estimated size larger than current size
- Failed to compact WSL Ubuntu for errors
- Have 194GB available, yet I need to change TEMP to drive with at least 0 MB free space HOT 3
- Custom VHDX Location?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wslcompact.