You can access files on a Linux-formatted drive from Windows, but the right method depends on the file system and whether you need read-only access or want to make changes. For occasional file copying, use a compatible reader or Linux; for an ext4 partition used by a dual-boot setup, avoid writing to it with unsupported tools.
What You’ll Need
- A Windows PC and the Linux disk or partition connected to it. If it is inside the PC, shut down before changing hardware or cables.
- The correct drive identification, such as its capacity and connection type, so you do not select a Windows partition by mistake.
- A backup of important files before attempting any write operation, partition change, or repair.
- Administrator access if you install software or use Windows Subsystem for Linux (WSL).
Step-by-Step
- Identify the file system and partition. In Windows, right-click Start and open Disk Management. Find the Linux disk by its capacity and partition layout. Windows may show the partition as healthy but not assign it a drive letter, or label its file system as unknown. Do not format it just because Windows offers to do so. Formatting erases the partition’s existing file system and can destroy its contents.
- Choose a method based on what you need. For a small number of files, boot into Linux and copy them to a Windows-readable USB drive or shared NTFS partition. This is the safest general option. For regular access from Windows, consider WSL’s supported mounting feature for a physical disk. A third-party ext4 reader may also work, but check whether it is read-only, supports your exact file-system features, and is maintained. Do not assume that a tool that can display files can safely edit them.
- Check that the Linux partition is not in use. If Linux is installed on the same PC, shut it down fully before accessing its partition from Windows. Do not mount a partition that is currently mounted by another operating system or being used by a running virtual machine. If you use dual boot, disable Windows Fast Startup before switching between systems; it can leave Windows volumes in a hibernated state and cause cross-system access problems.
- For a simple, low-risk transfer, use Linux. Restart into Linux, connect a USB drive formatted as NTFS or exFAT, and copy the needed files onto it. Eject the USB drive from Linux before disconnecting it, then open it in Windows. This avoids asking Windows to interpret Linux permissions, file-system features, or metadata. If Windows and Linux are on separate computers, a network share is another option.
- To use WSL, confirm that it is installed and current. Open PowerShell or Windows Terminal as an administrator. If WSL is not installed, run
wsl --install, then follow the prompts and restart if requested. Mounting a physical disk requires a WSL 2 distribution. Keep the disk disconnected from other uses while mounted in WSL. - Find the disk number carefully. In an elevated PowerShell window, run
Get-CimInstance -Query "SELECT * from Win32_DiskDrive"and match the disk by model and size. You can also runwmic diskdrive list briefon systems where that command is available. WSL commands use a disk number such asPhysicalDrive2, not a drive letter. Never guess: selecting the wrong disk can expose or alter the wrong data. - Mount the disk in WSL. In elevated PowerShell, use
wsl --mount \\.\PHYSICALDRIVE2 --bare, replacing2with the verified disk number. The--bareoption makes the disk available to the WSL environment without mounting its partitions automatically. In your WSL distribution, runlsblkto inspect the device and identify the Linux partition, such as/dev/sdc2. Device names vary, so verify the size and partition layout. - Mount the specific partition inside WSL. Create a mount point, then mount the partition read-only first:
sudo mkdir -p /mnt/linuxdiskfollowed bysudo mount -o ro /dev/sdc2 /mnt/linuxdisk. Replace/dev/sdc2with the partition confirmed bylsblk. Browse it in WSL withcd /mnt/linuxdiskandls. In Windows File Explorer, enter\\wsl$in the address bar, open your distribution, then browse tomnt\linuxdisk. The exact distribution name can vary. - Copy files, then unmount cleanly. Copy files to a Windows-accessible folder, such as a folder under
/mnt/c/Users/YourName/in WSL, or use File Explorer through\\wsl$. When finished, leave the mount point in WSL and runsudo umount /mnt/linuxdisk. Then, in elevated PowerShell, runwsl --unmount \\.\PHYSICALDRIVE2. Do not unplug the drive until it has been unmounted.
Common Mistakes
- Clicking Format or Initialize: Windows may offer these options for a Linux disk. Cancel unless you deliberately intend to erase or repartition it.
- Writing through an unverified reader: Unsupported ext4 tools may mishandle permissions, journals, or newer file-system features. Prefer read-only access or copy through Linux.
- Choosing a disk by number alone: Disk numbers can change when drives are connected or removed. Verify size and identity each time.
- Mixing up a disk and a partition: WSL mounts a physical disk, while Linux commands mount a partition on that disk. Use
lsblkto distinguish them. - Accessing a hibernated or active volume: Fully shut down the operating system using the volume before mounting it elsewhere.
Tips
- Start with read-only mounting. If you only need to retrieve files, there is usually no benefit to enabling writes.
- Copy files rather than trying to run Linux applications or Windows programs directly from the Linux partition.
- Preserve the original file permissions and folder structure where they matter; Windows may not represent Linux ownership and permissions in the same way.
- Keep a separate backup before using a third-party utility or changing partitions. A copy on another disk is safer than relying on the partition you are accessing.
Troubleshooting
- Windows asks to format the partition: Cancel the prompt. Windows does not natively read many Linux file systems, including ext4. Use Linux, WSL, or a suitable reader instead.
wsl --mountreports that the disk is in use or cannot be attached: Close programs using it, shut down Linux virtual machines, and make sure no other operating system has the disk mounted. Retry from an elevated PowerShell window.- The partition does not appear in
lsblk: Check the disk number and connection, then rerun the WSL mount command. Some USB adapters, storage controllers, or Windows configurations may not support physical-disk mounting through WSL; use a Linux boot or another computer instead. - The mount command reports an unsupported file system or errors: Do not force a repair or write mount. The partition may use a feature or file system your WSL kernel does not support, or it may be damaged. Try a current Linux environment and make a backup before attempting repair.
- File Explorer cannot open
\\wsl$: Confirm that the WSL distribution is running by opening it from the Start menu or runningwsl. Check that the partition mounted successfully inside that distribution. - Access is denied for a file: Linux permissions may restrict access. Use the Linux account that owns the files where possible. Avoid changing ownership or permissions in bulk; that can affect how the system works when booted into Linux.
Frequently Asked Questions
Can Windows read ext4 partitions by itself?
Windows generally does not provide native File Explorer access to ext4. Use Linux, WSL with physical-disk mounting, or a compatible third-party reader.
Will accessing a Linux partition erase my files?
Reading files should not erase them, but formatting, initializing, partition changes, and unsafe write access can cause data loss. Cancel format prompts and back up important data first.
Can I write files to an ext4 partition from Windows?
It depends on the method and its support for that partition’s features. For important data, copy through Linux or use a carefully verified tool; read-only access is safer.
Can I access Linux files from File Explorer using WSL?
Yes. After mounting the partition inside a running WSL distribution, browse to it through \\wsl$ and the distribution’s mount path.
Why is my Linux partition missing from Disk Management?
It may be on a disconnected, unsupported, or inaccessible device, or Windows may not recognize its partition layout. Do not initialize it; check the hardware and inspect it from Linux.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Access to Compressed Zipped Folder Is Denied in Windows 10
- Erase Microsoft Surface Data Without Booting Windows
- Apps to Install for a New Mac: A Practical Starter List
- Show or Hide Thumbnails in Windows 10
- Choose a Loud Bluetooth Speaker for Your Gathering
- iPhone X IMEI and Serial Number: How to Find Them