Bad News! Windows 10 Will Soon Have a Real Linux Kernel

The upcoming version of Windows 10 will feature a real Linux kernel in it as part of Windows Subsystem for Linux (WSL).

When Microsoft first announced bash on Windows and brought Linux inside Windows as Windows Subsystem for Linux (popularly known as WSL), few would have thought that the next step would be to bring the real Linux kernel inside Windows operating system.

But Microsoft has just done that. Among several other announcements at the Microsoft Build 2019 conference, it announced bringing the real Linux kernel to Windows 10 for WSL.

WSL 2 with real Linux kernel in Windows 10

Wsl Linux Kernel

WSL (Windows Subsystem for Linux) is a Linux kernel compatibility layer for Windows. It allows many Linux programs (mainly the command line ones) to run inside Windows. This feature is also called ‘bash on Windows’.

To use WSL, you can install bash on Windows through Ubuntu, Kali Linux and OpenSUSE. These Linux distributions are available in Windows 10 Store. Instead of a slow virtual machine, the WSL allows you to natively run the Linux commands on Windows.

In WSL 2, the Linux kernel compatibility layer has been replaced by the real Linux kernel. So now if you use WSL, you’ll be using the real Linux kernel 4.19.

this will be the first time a Linux kernel is shipped with Windows, which is a true testament to how much Microsoft loves Linux

Craig Loewen, Program Manager, Windows Developer Platform

The advantages of real Linux kernel in WSL 2

It has been optimized for size and performance to give an amazing Linux experience on Windows. We will service this Linux kernel through Windows updates, which means you will get the latest security fixes and kernel improvements without needing to manage it yourself.

The inclusion of real Linux kernel will boost the file-system I/O and system calls. The specifically optimized Linux kernel makes WSL 2 faster than WSL 1. In certain tasks like, unpacking a tarball, WSL 2 was 20x faster than WSL 1 and around 5x faster in using Git clone, npm install.

WSL 2 also allows Windows to run docker containers natively. You probably already know that Docker and Linux containers are the backbone of the IT industry these days and most of the software deployments take advantage of the Linux containers.

The Linux kernel will get security fixes, kernel improvements and other updates through Windows updates. Hah! Does this mean Linux kernel will start upgrading in the middle of work like Windows updates? That remains to be seen.

When is WSL 2 releasing? Which Linux distros are available via WSL 2?

WSL 2 will be available through Windows insider program by the end of June. Windows insider program is sort of a beta program for early adapters and developers to try out the upcoming Windows features before its final release.

There is no date for WSL 2 release to the general public, yet.

Canonical has announced the support for WSL 2 meaning you would be able to use Ubuntu through WSL 2.

Collaboration with Microsoft enables us to certify Ubuntu on WSL, including Docker containers, Kubernetes, and snaps

Stephan Fabel, Director of Product at Canonical

Opinion/rant on Linux Kernel in Windows and Microsoft’s so-called love for Linux and Open Source

Microsoft Loves Linux
Microsoft Loves Linux?

This is strictly my opinion. You may call it rant, I don’t really mind.

Microsoft is infamous for its Embrace, Extend, Extinguish policy. It has started ‘loving’ open source and Linux in the last few years but before that Linux was cancer.

The so-called ‘love for Linux’ seems more like ‘lust for Linux’ to me. The Linux community is behaving like a teen-aged girl madly in love with a brute. Who benefits from this Microsoft-Linux relationship? Clearly, Microsoft has more to gain here. The WSL has the capacity of shrinking (desktop) Linux to a mere desktop app in this partnership.

By bringing Linux kernel to Windows 10 desktop, programmers and software developers will be able to use Linux for setting up programming environments and use tools like Docker for deployment. They won’t have to leave the Windows ecosystem or use a virtual machine or log in to a remote Linux system through Putty or other SSH clients.

In the coming years, a significant population of future generation of programmers won’t even bother to try Linux desktop because they’ll get everything right in their systems that comes pre-installed with Windows.

Linux kernel will continue to grow in the IT infrastructure, thanks to the efforts of Linux Foundation backed by the enterprise giants for their own interests.

The desktop Linux will unfortunately see a decline. The Linux Foundation already doesn’t care about the desktop Linux. Out of the millions it gets, literally nothing goes for the development of desktop Linux (as far as I know). Linux Foundation doesn’t make any effort to support desktop Linux probably because it doesn’t generate any money.

Microsoft loves Linux. Microsoft loves Open Source. It’s love is so deep that it open sourced the magnificent Windows calculator so that all of us Linux users could run this marvel of a technology.

But when it comes to bringing commercial products like Microsoft Office to Linux, Microsoft suddenly recalls that there is not ‘enough demand’ for MS Office on Linux.

Not enough demand? So, were people signing petitions or holding yellow jacket protests for open sourcing Windows calculator?

Microsoft is one of the biggest contributors to open source project on GitHub (platform now owned by Microsoft). But if you look at their projects, you’ll notice that almost all of the Microsoft’s open source products are aimed at programmers and software developers.

This is not love, Microsoft and Linux. This is merely a relationship of convenience.

[interaction id=”5cd11f5ed44ec8d4fe35a844″]

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.