Mount partitions and skip HyperV limitations
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Is your feature request related to a problem? Please describe.
https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk#limitations
At this time, only entire disks can be attached to WSL 2, meaning that it's not possible to attach only a partition. Concretely, this means that it's not possible to use wsl --mount to read a partition on the boot device, because that device can't be detached from Windows.
- We cannot mount Linux partitions that share the disk with Windows main partitions
- We cannot mount Linux partitions that share any Windows mounted partition
- We cannot mount specific partitions - just whole disks
We cannot mount our own Linux partitions if we have them, if they share the same drive as Windows
Describe the solution you'd like
- Be able to mount my Linux partitions that share the disk with Windows
- Be able to mount other partitions without requiring to mount an entire disk
- Not needing to waste an isolated SSD/HDD for installing my native Linux distro solely to share with my WSL
Describe alternatives you've considered
- There are no alternatives
#8954 #6415 #4699


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked WSL mount limitations and related issues #8954, #6415, and #4699. The work would be complete when WSL can mount individual Linux partitions, including partitions sharing a disk or Windows-mounted partition, without requiring the entire disk to be attached.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100