

Commands like help wsl or cat /proc/filesystems will give you more information about the options. If you ommit the -partition flag an ext4 filesystem will be choosen. Identify your partitons and mount it using the following command wsl -mount -partition -type

Now the disk is available to the layer and you can use the common linux command lsblk Note your disk to mount and enter: wsl -mount -bare List and select the partitions to mount in WSL2 Usually under the \.\PHYSICALDRIVE* format. The disks paths are available under the 'DeviceID' columns. Open a powershell (or something else) and type wmic diskdrive list brief The following steps are taken from the microsoft's homepage docu wls2-mount-disk : I recommend to simply follow the microsoft installation guide (note the minimum version required).
MOUNT EXT4 PARTITION LINUX WITH MACFUSE INSTALL
The Windows 10 WSL2 now supports a mount command for linux filesystems called wsl.įirst of all you have to install WSL2 on your windows10+ release. In May 2019, WSL 2 was announced, introducing important changes such as a real Linux kernel, through a subset of Hyper-V features. Linux binary executables natively on Windows 10 and Windows ServerĢ019. Windows Subsystem for Linux is a compatibility layer for running 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.įor people who are not familiar with WSL2: At this time, only entire disks can be attached to WSL 2, meaning that it's not possible to attach only a partition.For convenience, this limitation is noted here: However, there is a limitation with this approach as noted in the Microsoft documentation. Windows allows now to mount physical disks using the Windows Subsystem for Linux 2 (WSL).
