microsoft / microsoft/WSL

Way to mount a partition from the disk the windows is installed.

Open
#8,773 21 comments 47 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

**I whish to mount a partition in where my current windows running is installed**
I have a dual boot windows and linux at the same disk, and I'd like to work in wsl mounting the ext4 partition.

Is that possible?

I think there is something related to the issue #5997

I read this [article](https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk) and the note says:

```md
# Note

Administrator access is required to attach a disk to WSL 2.

The WSL 2 mount command does not support mounting a disk (or partitions that belong to the disk) that is currently in use.

wsl --mount always attaches the entire disk even if only a partition is requested.

You can't mount the Windows installation disk.
```

**You can't mount the windows installation disk... **

May is there a work arround ?

As you can see the partition 5 is where my linux is installed.

![image](https://user-images.githubusercontent.com/4624214/186935110-4324e596-35e1-4130-998b-bdb2580de73c.png)

Contributor guide

Open the contributing guide

Research direction

Read issue #5997 and the linked WSL 2 mount documentation first; no file, test, or entry point is named. Done would require a maintainer-defined answer on whether mounting an ext4 partition from the Windows installation disk is supported or what scoped change is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.