Skip to content

Commit 454d1c2

Browse files
committed
add screenshot and clarifications re vhd and appx
1 parent 1259d47 commit 454d1c2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

WSL/compare-versions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ To expand your maximum VHD size beyond 256GB:
175175

176176
3. Locate the VHD file `fullpath` used by your WSL 2 installation, this will be your `pathToVHD`:
177177
- `%LOCALAPPDATA%\Packages\<PackageFamilyName>\LocalState\<disk>.vhdx`
178+
- As an example, to find the path for Ubuntu, you would enter: `Get-AppxPackage -Name "*Ubuntu*" | Select PackageFamilyName`
179+
![Get-AppxPackage command line screenshot](/media/get-AppxPackage.png)
178180

179181
4. Resize your WSL 2 VHD by completing the following commands:
180182
- Open Windows Command Prompt with admin privileges and enter:
@@ -228,4 +230,4 @@ To expand your maximum VHD size beyond 256GB:
228230
```
229231

230232
> [!NOTE]
231-
> In general do not modify, move, or access the WSL related files located inside of your AppData folder using Windows tools or editors. Doing so could cause your Linux distribution to become corrupted.
233+
> We recommend that you do not modify, move, or access the WSL related files located inside of your AppData folder using Windows tools or editors. Doing so could cause your Linux distribution to become corrupted. If you would like to access your Linux files from Windows that is possible via the path `\\wsl$\<distroName>\`. To learn more, see the blog post: [Accessing Linux files from Windows](https://devblogs.microsoft.com/commandline/whats-new-for-wsl-in-windows-10-version-1903/#accessing-linux-files-from-windows).

0 commit comments

Comments
 (0)