Windows 10 Will Let You Load a Customized Linux Kernel


Microsoft is including a Linux kernel to Windows 10 to energy the Windows Subsystem for Linux. However, guess what: You don’t have to make use of Microsoft’s Linux kernel. You may construct your individual customized Linux kernel for Windows to make use of.

This characteristic is a part of the new version of WSL in Insider preview construct 18945. It is a 20H1 construct, which suggests it would doubtless be launched in April 2020—it’s unclear if this characteristic will make it to 19H2, anticipated for launch in October 2019.

Microsoft had already added the Linux kernel, however now WSL 2 appears to be like much more highly effective than we initially thought. Now, you are able to do no matter you need with the Linux kernel, together with including kernel modules. You then specify the trail to your kernel file in a .wslconfig  file in your system and Windows will robotically load it everytime you launch a Linux system. You don’t must load a customized kernel—if you happen to don’t, Windows will simply use the built-in one.

As Microsoft’s Craig Loewen, program supervisor for the Windows Developer Platform, explains:

We provide a Linux kernel with WSL 2, and it’s shipped within Windows. However, there may be a case where you want a specific kernel powering your WSL 2 distros, such as using a certain kernel module, etc. You can now use the kernel option in the .wslconfig file to specify a path to a kernel on your machine, and that kernel will be loaded into the WSL 2 VM when it’s started. If no option is specified, you’ll go back to using the Linux kernel provided with Windows as part of WSL 2.

There are extra enhancements to WSL, too. All the .wslconfig international configuration file is new, and WSL 2 customers can now connect with Linux servers operating on their system utilizing localhost .

This latest insider preview build additionally includes a redesigned Cortana expertise, streamlined file search in File Explorer, and customizable textual content cursor indicator.

Customized Linux Kernel


5/5 (5202)

What do you think?

66 points
Upvote Downvote