WSL2 Adding Support For Mounting Physical Disks, EXT4 Access And More From Windows

Written by Michael Larabel in Microsoft on 10 September 2020 at 04:24 PM EDT. 27 Comments
MICROSOFT
The latest functionality Microsoft is adding to their Windows Subsystem for Linux 2 (WSL2) is support for attaching and mounting physical disks within WSL2.

The newest Windows Insiders Preview Build adds support for the wsl --mount option for attaching and mounting physical disks attached to the system. This is intended for accessing data on Linux file-systems that are not natively supported by Windows, like EXT4 and many others.

Particularly for those using multi-boot setups or performing Linux backups to EXT4 or other non-Windows file-systems, making use of WSL's new mount options can allow interacting with these files. Additionally, once mounted by WSL, the files are also accessible from the Windows install via the File Explorer.

The mounted Linux file-systems are accessible from the Windows system via the \wsl$ path. One notable limitation though is that for now with the new Windows Insider builds that it's not possible to attach a single partition but just disks.

More details on this new WSL2 capability via the Microsoft Command Line Blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week