Windows 10 allows mounting and using hard drives on Linux EXT4

Linux can learn and write NTFS drives with out issues. Therefore, from this working system we are able to entry Windows hard drives to entry any file saved on it, or copy recordsdata to those drives. However, the opposite means round, it isn’t doable. Windows doesn’t help Linux file programs (EXT4), so, for the Microsoft working system, Linux hard drives is not going to be formatted, and we will be unable to make use of them, except we use third-party applications that enable us to learn Linux hard drives in Windows.

Despite the robust rivalry of years in the past, at present Microsoft will get alongside very effectively with Linux. The OpenSource working system is a trustworthy ally that may allow you to achieve the belief of builders, programmers and IT technicians who usually work with Linux instruments on a every day foundation. One instance of that is the launch of WSL, he Windows subsystem for Linux, which allows the kernel of this working system to be loaded on prime of Windows as if it have been a local system.

But when it got here to accessing different hard drives, the issues continued. Until at present.

WSL allows mounting Linux hard drives in Windows 10

The launch of the brand new Windows Insider construct 20211 has introduced with it an essential novelty each for customers who use the Windows subsystem and for many who have a Dual-Boot on your pc. This new model of WSL in Windows 10 brings a brand new command that we are able to use to mount any bodily drive on our PC inside Windows 10: wsl –mount.

In order to take action, we should meet a sequence of necessities. One of them is to be an Insider consumer, from the Dev department, and have the brand new Windows construct 20211 put in. Furthermore, we should additionally have Hyper-V enabled and activate the Windows Subsystem for Linux, since this file system relies upon immediately on it.

If we adjust to the above, and now we have a hard drive (or a partition) in EXT4, we can mount it in Windows 10. To do that, we merely must know the bodily disk that we wish to mount (with the CMD command wmic diskdrive record temporary), and then we’ll use the command “wsl –mount”, adopted by the hard disk in query . In case of being a partition, we must add the –partition parameter to the hard disk adopted by its quantity.

For instance, if now we have in EXT4 the third partition of the second hard disk (do not forget that the models begin counting from zero) the command could be:

wsl --mount .PHYSICALDRIVE1 --partition 3

This unit will seem within the file explorer with the Linux icon, and we are able to use it with out issues. When we get bored with it, we’ll merely execute the command «wsl –unmount«, Followed by the disk and partition, to unmount it safely.

Linux from file explorer

We do not forget that Windows could have entry to this EXT4 unit that now we have mounted, however all of the distributions that we run inside WSL will even have entry to it.

Mount EXT4 on Windows 10 remains to be difficult

The fact is, whereas it is an excellent function, Microsoft has discovered essentially the most sophisticated approach to make it work. Instead of rely on WSL, and Hyper-V, this function needs to be native to Windows. The working system ought to mechanically acknowledge EXT4-formatted hard drives, as in the event that they have been an NTFS hard drive, and mount them mechanically.

Unfortunately, this isn’t the case. And not solely that, however for have the ability to learn and write to EXT4 drives We will need to have WSL enabled and execute completely different instructions in CMD that enable us to mount and unmount the models.

We hope that Microsoft will rethink and simplify this course of. It remains to be early days, since it’s a novelty launched within the newest Insider model of Windows 10 and it’s going to take no less than 6 months to succeed in all Windows 10 customers. If not, then it’s far more sensible, quicker and easy to make use of the standard applications to mount EXT drives in Windows.