Running Linux on Windows 10 just got a little less janky

Windows Subsystem for Linux
(Image credit: Microsoft)

Microsoft has delivered a major new update to Windows Subsystem for Linux 2 (WSL2) for members of the Windows Insider program.

The latest Windows 10 update delivers a new open source WSL2 kernel that’s based on a release from the Long Term Support (LTS) Linux kernel 5.10 branch.

Earlier this year, Microsoft updated the original 4.19 branch kernel in WSL2 to the 5.4 LTS branch. This has now been bumped up again to support the latest LTS release. 

The release is notable for two reasons. First, it equips WSL2 with the latest mainline LTS kernel. Secondly, it brings a useful new feature to WSL2 users and resolves a long standing issue.

Bug fixes and more

Developers will appreciate the ability to use a kernel based on the latest LTS Linux kernel, especially after languishing on an old one for quite some time. 

One of the new features of the latest 5.10-based WSL2 kernel is the ability to support Linux Unified Key Setup (LUKS) disk encryption

After installing the update, Windows Insider WSL2 users will be able to mount LUKS disks and access them from within their host Windows installation.

Another major change in the release is a fix for a notorious clock sync issue, which caused clocks inside WSL instances to lag behind that of the host machine. 

In a joint post, Craig Loewen, Program Manager, Windows Developer Platform, and WSL developer Pierre Boulay note that the clock sync bug fixed itself because of the changes inside the 5.10 LTS kernel.

As per the usual timeline, changes introduced in the Windows Insider builds take a couple of months to make their way to all users, so general WSL users can expect the new kernel to be delivered to their installations towards the end of Q2 2021.

Via The Register

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.