-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mounting a specific partition on the boot device #6015
Comments
/dupe #5997 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
It's not exactly the same situation - I'm talking about a partition in the same drive - that question talks about mounting a different drive. |
Okay, will bifurcate as more expedient than getting into the underlying cause of the limitations. |
While I think I understand from #5997 that this is a limitation of HyperV, I think the motivation here still stands. And to add a bit more to the motivation @calgreenfield gave: in my case this is critical because I am on a laptop with only room for a single physical drive. Thus it's impossible for me to use this mount command in any useful way in a dual-boot configuration. In practice this has driven me away from WSL and to booting into Linux because I cannot have a two-way "share" of information between WSL and the native linux. So for me this is probably the single biggest impediment to WSL use now. |
Thanks for creating this @GalGreenfield. Attaching single partitions to WSL2 is a scenario that is absolutely on our radar, but as you can imagine, this requires a lot of underlying infrastructure change so it's not something that will happen soon, but we definitely want to support this at some point. |
What a pity. Just spent the evening installing Windows Insider to use this functionality, as indicated by the documentation offered here: tutorial. I think this "little" caveat is important enough to mention in the documentation. |
@guillermo: The is specified under the
|
I think this would be an extremely useful feature, because you will be able to dual boot (on a single disk) and read the Linux partition from Windows. I understand that it is not a simple feature to implement, but does anyone know if there is a plan to implement it in W11 (October release)? |
don't let this post die... |
1 similar comment
don't let this post die... |
Hi @OneBlue .. Do you know if this feature has any progress? |
I would like to use this feature as well. For me, this limitation is the only reason not to use Windows more often. |
My use for this feature would be to mount my encrypted Linux boot partition on Windows. Would really love to see this feature be implemented soon. |
Any progress on this feateure? |
I would like to use a second disk a portion for WSL direct attach, and another portion for Windows to use, so this would come in handy! |
I need this feature to open luks-encrypted linux partition. |
Yes, I need this feature too. I would use Windows more often for sure. |
Is your feature request related to a problem? Please describe.**
I read in the docs that this is currenlty not supported. Do you have plans to add this support? I currently want to add a Linux partition to be used by WSL on the same boot device (disk) that my Windows is installed on.
Describe the solution you'd like
For this feature to be implemented into
wsl --mount
.Describe alternatives you've considered
I don't think there are any. Only other thing I can do is get another drive, boot to the other partition (Linux) copy the contents of that partition to the other drive, and mount that drive - that's not what I'm looking to do - I want to use the single drive I have.
Additional context
It'd enable having multiple Linux distros and generally multiple Linux-supported partitions that aren't supported by Windows to be used by WSL.
I moved back to Windows due to lack of support of games and some softwares in Linux, and now I'm a bit bummed out that I even thoughWSL exists, I can't access all of my files and existing distro installation, and either have to start from scartch, boot to it separately, or not use it at all, making WSL useless for me for this use case.
The text was updated successfully, but these errors were encountered: