Windows Subsystem for Linux lets developers run a GNU/Linux environment, including most command-line tools, utilities, and applications directly in Windows without setting up a virtual machine or dual-boot. With the WSL environment configured, you can attach and mount physical Linux drives or mount points on Windows and explore the content via File Explorer. This feature also works on a dual-boot system running Windows 11 and Ubuntu Linux installed on different drives.
How to mount Linux file system on Windows 11 via WSL
As described above, with the WSL environment configured, you can attach and mount physical Linux drives or mount points on Windows and explore the content via File Explorer. Below is how to mount the Linux file system on Windows 11 with WSL configured.
Mount Linux file system on Windows WSL
To mount the Linux file system, open Windows PowerShell as administrator.
When the PowerShell app opens, run the commands below to list the available drives or volumes.
That should output something similar to the lines below:
Pay attention to the drive path under the “Device ID” column.
Now, to mount the Linux file system or drive, simply run the format of the command below from your Windows machine with WSL enabled:
The
Unmount the Linux file system on Windows WSL
To unmount a mounted file system, run the format of the command below: Ex.
Access the Linux file system in Windows File Explorer
Now that the Linux file system is mounted, you can use File Explorer to browse the drive’s content. Open File Explorer, then browse to the \wsl$ and then to the mount folder
That should do it! Conclusion: This post showed you how to mount a Linux file system on Windows 11 with WSL. If you find any error above or have something to add, please use the comment form below.