Microsoft: Windows 10 Now Lets You Access Linux Filesystems In WSL 2

Microsoft's latest Windows 10 preview lets users attach and mount a physical disk inside their Windows Subsystem for Linux 2 (WSL 2) distribution of choice. 

The new feature is available in Windows 10 Insider Preview build 20211, which Microsoft has just released to Windows Insiders in the Dev Channel. 

The feature lets users access Linux filesystems, such as ext4, that aren't natively supported by Windows. It also means those who are dual-booting Windows and Linux with different disks can now access Linux files from Windows. 

SEE: Cheat sheet: Windows 10 PowerToys (free PDF) (TechRepublic)

Additionally, after mounting a physical disk, Windows 10 WSL 2 users can get to the Linux files it contains using the Windows File Explorer app, building on the File Explorer WSL integration Microsoft introduced earlier this year, which included a new Linux penguin icon in File Explorer. Users need to navigate to \wsl$ in File Explorer and then go to the mount folder.    

The key new WSL 2 feature that Microsoft is adding to support non-native Windows filesystems is 'wsl --mount', which can be run from a PowerShell window with administrative privileges. This lets users mount a physical disk inside WSL 2, with the feature attempting to mount the disk by default as ext4. 'wsl --unmount' lets users unmount and detach the disk from WSL 2. 

The new preview builds on Microsoft's efforts to improve Linux on the Windows 10 desktop in 2020.   

Microsoft notes there are three main current limitations to the feature. Only whole disks can be attached to WSL 2, so users can't attach a partition. 

"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," explains Microsoft in WSL documentation. 

It doesn't support USB flash drives at this time, but USB disks are supported. 

Also, Microsoft notes that "only filesystems that are natively supported in the kernel can be mounted by wsl --mount".

"This means that it's not possible to use installed filesystem drivers (such as NTFS-3G for example) by calling wsl --mount."

Microsoft has also confirmed it is investigating user reports that surfaced this week that the September 2020 Patch Tuesday update breaks WSL 2. The issue is listed among several known issues with this preview build

"We are investigating an issue affecting Windows Subsystem for Linux 2 distros where users can receive the error: 'The remote procedure call failed' on startup," Microsoft noted. 

SEE: Seven Windows 10 annoyances (and how to fix them)

The preview 20211 contains several bug fixes too, including a bug that stopped certain 32-bit applications running on a 64-bit OS from being properly promoted to the discrete GPU for hybrid configurations.

Microsoft has also fixed a Start menu glitch causing tiles to display an 'Update in progress' bar after an app had been successfully updated. Some app icons were appearing smaller than they should be. It also includes fixes for Arm64 devices causing Start crashes for certain apps, hanging issues affecting the lock screen and ShellExperienceHost.exe. 

The build fixes an issue that was causing Windows update to get stuck while downloading the update and users will no longer get asked to reinstall a .NET update after each flight.

RECENT NEWS

Reassessing AI Investments: What The Correction In US Megacap Tech Stocks Signals

The recent correction in US megacap tech stocks, including giants like Nvidia, Tesla, Meta, and Alphabet, has sent rippl... Read more

AI Hype Meets Reality: Assessing The Impact Of Stock Declines On Future Tech Investments

Recent declines in the stock prices of major tech companies such as Nvidia, Tesla, Meta, and Alphabet have highlighted a... Read more

Technology Sector Fuels U.S. Economic Growth In Q2

The technology sector played a pivotal role in accelerating America's economic growth in the second quarter of 2024.The ... Read more

Tech Start-Ups Advised To Guard Against Foreign Investment Risks

The US National Counterintelligence and Security Center (NCSC) has advised American tech start-ups to be wary of foreign... Read more

Global IT Outage Threatens To Cost Insurers Billions

Largest disruption since 2017’s NotPetya malware attack highlights vulnerabilities.A recent global IT outage has cause... Read more

Global IT Outage Disrupts Airlines, Financial Services, And Media Groups

On Friday morning, a major IT outage caused widespread disruption across various sectors, including airlines, financial ... Read more