Microsoft: Home windows 10 now enables you to entry Linux file techniques in WSL 2
Microsoft’s newest Home windows 10 preview lets customers connect and mount a bodily disk inside their Home windows Subsystem for Linux 2 (WSL 2) distribution of selection.
The brand new characteristic is offered in Home windows 10 Insider Preview construct 20211, which Microsoft has simply launched to Home windows Insiders within the Dev Channel.
The characteristic lets customers entry Linux file techniques, equivalent to ext4, that are not natively supported by Home windows. It additionally means those that are dual-booting Home windows and Linux with completely different disks can now entry Linux information from Home windows.
SEE: Cheat sheet: Home windows 10 PowerToys (free PDF) (TechRepublic)
Moreover, after mounting a bodily disk, Home windows 10 WSL 2 customers can get to the Linux information it accommodates utilizing the Home windows File Explorer app, constructing on the File Explorer WSL integration Microsoft launched earlier this yr, which included a brand new Linux penguin icon in File Explorer. Customers must navigate to wsl$ in File Explorer after which go to the mount folder.
The important thing new WSL 2 characteristic that Microsoft is including to help non-native Home windows file techniques is ‘wsl –mount’, which may be run from a PowerShell window with administrative privileges. This lets customers mount a bodily disk inside WSL 2, with the characteristic making an attempt to mount the disk by default as ext4. ‘wsl –unmount’ lets customers unmount and detach the disk from WSL 2.
The brand new preview builds on Microsoft’s efforts to enhance Linux on the Home windows 10 desktop in 2020.
Microsoft notes there are three fundamental present limitations to the characteristic. Solely entire disks may be hooked up to WSL 2, so customers cannot connect a partition.
“Concretely, because of this it isn’t doable to make use of wsl –mount to learn a partition on the boot gadget, as a result of that gadget cannot be indifferent from Home windows,” explains Microsoft in WSL documentation.
It does not help USB flash drives presently, however USB disks are supported.
Additionally, Microsoft notes that “solely file techniques which are natively supported within the kernel may be mounted by wsl –mount”.
“Because of this it isn’t doable to make use of put in file system drivers (equivalent to NTFS-3G for instance) by calling wsl –mount.”
Microsoft has additionally confirmed it’s investigating consumer stories that surfaced this week that the September 2020 Patch Tuesday replace breaks WSL 2. The problem is listed amongst a number of identified points with this preview construct.
“We’re investigating a problem affecting Home windows Subsystem for Linux 2 distros the place customers can obtain the error: ‘The distant process name failed’ on startup,” Microsoft famous.
SEE: Seven Home windows 10 annoyances (and tips on how to repair them)
The preview 20211 accommodates a number of bug fixes too, together with a bug that stopped sure 32-bit purposes operating on a 64-bit OS from being correctly promoted to the discrete GPU for hybrid configurations.
Microsoft has additionally fastened a Begin menu glitch inflicting tiles to show an ‘Replace in progress’ bar after an app had been efficiently up to date. Some app icons had been showing smaller than they need to be. It additionally consists of fixes for Arm64 units inflicting Begin crashes for sure apps, hanging points affecting the lock display and ShellExperienceHost.exe.
The construct fixes a problem that was inflicting Home windows replace to get caught whereas downloading the replace and customers will now not get requested to reinstall a .NET replace after every flight.