WSL command line does not have --mount option #6061
-
PS C:\windows\system32> wsl --mount Usage: wsl.exe [Argument] [Options...] [CommandLine] Arguments for running Linux binaries:
Options:
Arguments for managing Windows Subsystem for Linux:
|
Beta Was this translation helpful? Give feedback.
Replies: 21 comments 57 replies
-
Make sure you are in Insider Build 20211 or superior for mount. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
comment in error |
Beta Was this translation helpful? Give feedback.
-
How long until this gets released? I hate Insider Preview builds. |
Beta Was this translation helpful? Give feedback.
-
[UPDATE] found the --mount option after a WSL update |
Beta Was this translation helpful? Give feedback.
-
@YuenSzeHong - are you sure? Can you share the output of "wsl.exe --help"? |
Beta Was this translation helpful? Give feedback.
-
I am on Windows 10 21H2 (Build 19044.1348) and still no |
Beta Was this translation helpful? Give feedback.
-
Will this one ever get released to windows 10 builds as well? |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Hello guys, same question. |
Beta Was this translation helpful? Give feedback.
-
Wow, so a very basic thing such as mounting file systems is still missing in windows subsystem for linux ... this sucks so much |
Beta Was this translation helpful? Give feedback.
-
Almost 2022 and no --mount 😑 |
Beta Was this translation helpful? Give feedback.
-
The usbipd-win project will allow you to mount USB devices on older systems. But some assembly is required. It's been around for over a year, but just recently (2 weeks ago) got a place in the official MS doc tree. USBPID Minimum Requirements
I had to build my own WSL Linux kernel to add Obviously this only gives you access to USB Removable Media, but it is something. cc: @trostn, @realsarm, @Guitlle, @pavelslunin, @ivan-gorin, @ajohnsen, |
Beta Was this translation helpful? Give feedback.
-
Thanks, great work. One step forward. I ended up figuring out how to install linux in my laptop so I will not use WSL anymore |
Beta Was this translation helpful? Give feedback.
-
Apparently something this simple isn't considered a priority. I'm not trying to mount a USB drive, I'm trying to mount the existing partition on my hard drive so I can move files around. Linux supports NTFS partitions already! |
Beta Was this translation helpful? Give feedback.
-
I'm on 21H2 / 19044.1466 (latest available to me). I'm not upgrading my OS to an insider build for --mount. Upgrading to Win11 isn't a viable option for this PC. I need to read an XFS partition on a large drive to salvage data. Really thought this would be a basic part of WSL2 without all the hoops. I'll just do this in a standard VM. Putting this in as feedback for getting this feature into the Win10 version without needing an unstable version. |
Beta Was this translation helpful? Give feedback.
-
I have a machine that can't run Windows 11 so now I am stuck. |
Beta Was this translation helpful? Give feedback.
-
My perspective is that WSL2 is the most significant addition to Windows. The integration of Linux under Windows means that Linux development can be shifted to Windows with all the support tools, such as Visual Studio, available making this the ideal development platform. That being said, the full WSL 2 platform needs to be available under Windows 10 Pro release as many companies, mine included, have strict update policies that don't include "Insider Program Development" releases. Upgrading hardware is also done on a fixed schedule, so moving to Windows 11 isn't an option for the next couple of years. The only other Linux wish is for the C++/CLI language, that would make the switch to C# much faster as it was under Windows. |
Beta Was this translation helpful? Give feedback.
-
Is there an explanation why after nearly 2 years this still isnt in the stable build? |
Beta Was this translation helpful? Give feedback.
-
please confirm that win10 will never get --mount option. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Make sure you are in Insider Build 20211 or superior for mount.