How to Mount a Linux EXT4 Drive in Windows With WSL 2

Updated on November 10, 2026.

Windows File Explorer can access files on an EXT4 drive after WSL 2 mounts the Linux partition. The drive stays formatted as EXT4. Use these steps for a separate disk that Windows isn’t using. If Windows asks you to initialize or format the drive, dismiss the prompt to preserve its files.

A storage drive accessed from Windows and Linux

Check whether WSL 2 can mount your drive

Where the EXT4 partition is What to do
A separate physical disk that Windows isn’t using Use WSL 2 to attach the disk and mount the EXT4 partition.
The same disk as your running Windows installation Boot into Linux or use another computer to copy the files. WSL needs access to the whole disk.
A USB stick or an SD card reader The direct wsl --mount command doesn’t support USB flash drives or SD card readers. Use Linux to copy the files.
An encrypted Linux partition Unlock it with the proper tools and credentials in Linux first. See our guide to LUKS disk encryption.

Microsoft lists Windows 11 or the Microsoft Store version of WSL as the requirement for this feature. Check wsl.exe --version and wsl -l -v to confirm you have a current WSL installation and a distribution using version 2. If your Windows 10 setup lacks --mount, check WSL support and updates for your version. See Microsoft’s WSL disk mounting instructions.

Identify the disk and partition

  1. Open PowerShell as administrator and run Get-CimInstance -ClassName Win32_DiskDrive | Select-Object DeviceID, Model, Size.
  2. Match the drive’s model and size to its DeviceID. The examples below use \\.\PHYSICALDRIVE2. Use the ID of your own Linux drive and leave the Windows boot disk alone.
  3. If you don’t know the partition number, attach the disk without mounting it using wsl --mount \\.\PHYSICALDRIVE2 --bare. In your WSL distribution, run lsblk -o NAME,SIZE,FSTYPE,LABEL to identify the EXT4 partition. Then detach the disk in PowerShell with wsl --unmount \\.\PHYSICALDRIVE2.

Mount it, copy the files, and unmount

  1. From administrator PowerShell, run wsl --mount \\.\PHYSICALDRIVE2 --partition 1 --type ext4. Replace both the disk ID and 1 with the values you checked. For EXT4 that occupies the whole disk without a partition table, omit --partition 1.
  2. Open your WSL distribution and run ls /mnt/wsl to see the mount folder. In File Explorer, open \\wsl$\Ubuntu\mnt\wsl if your distribution is named Ubuntu. Substitute its name if you use another distribution.
  3. Copy the files you need to a Windows folder. When you finish, close any windows or apps using the disk and run wsl --unmount \\.\PHYSICALDRIVE2 in PowerShell before disconnecting it.

The standard mount can write to the filesystem. For a damaged drive or a recovery job, work from a copy or use a properly configured read-only recovery setup.

Frequently asked questions

Can Windows open EXT4 in File Explorer?

Yes, through a compatible WSL 2 setup. Mount the disk in WSL and open the Linux mount folder through \\wsl$ in File Explorer.

Can I mount my Linux partition if I dual boot on one drive?

WSL attaches the whole physical disk, which Windows is already using in this setup. Boot Linux and copy the files to a separate drive or share.

Why does Windows ask me to format the EXT4 drive?

Windows may show that prompt because it can’t use EXT4 as a native Windows volume. Close the prompt and use WSL 2 or Linux to access the existing files.