博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux自定义内核_Windows 10将允许您加载自定义Linux内核
阅读量:2507 次
发布时间:2019-05-11

本文共 2374 字,大约阅读时间需要 7 分钟。

linux自定义内核

linux自定义内核

Linux's Tux mascot on a Windows 10 desktop
Larry Ewing
拉里·尤因

Microsoft is to power the . But, guess what: You don’t have to use Microsoft’s Linux kernel. You can build your own custom Linux kernel for Windows to use.

微软正在 动力。 但是,请猜测一下:您不必使用Microsoft的Linux内核。 您可以构建自己的自定义Linux内核供Windows使用。

This feature is part of the in Insider preview build 18945. This is a 20H1 build, which means it will likely be released in April 2020—it’s unclear if this feature will make it to 19H2, expected for release in October 2019.

此功能是Insider Preview内部版本18945 一部分。这是20H1版本,这意味着它可能会在2020年4月发布-尚不清楚此功能是否会使其达到19H2(预计于2019年10月发布)。 。

Microsoft had , but now WSL 2 looks even more powerful than we originally thought. Now, you can do whatever you want with the Linux kernel, including adding kernel modules. You then specify the path to your kernel file in a .wslconfig  file on your system and Windows will automatically load it whenever you launch a Linux system. You don’t have to load a custom kernel—if you don’t, Windows will just use the built-in one.

微软 ,但是现在WSL 2看起来比我们最初想象的还要强大。 现在,您可以使用Linux内核进行任何操作,包括添加内核模块。 然后,在系统上的.wslconfig文件中指定内核文件的路径,并且Windows将在每次启动Linux系统时自动加载它。 您不必加载自定义内核-如果不需要,Windows将仅使用内置的内核。

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

正如Microsoft Windows Developer Platform程序经理Craig Loewen所解释的那样:

We . 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.

我们 。 但是,在某些情况下,可能需要特定的内核来为WSL 2发行版提供动力,例如使用某个内核模块等。现在,您可以使用.wslconfig文件中的kernel选项在您的.wslconfig上指定内核的路径。计算机,并且该内核将在启动时被加载到WSL 2 VM中。 如果未指定任何选项,则将返回使用Windows作为WSL 2的一部分提供的Linux内核。

There are more improvements to WSL, too. The entire .wslconfig global configuration file is new, and WSL 2 users can now connect to Linux servers running on their system using localhost .

WSL也有更多改进。 整个.wslconfig全局配置文件是新的,WSL 2用户现在可以使用localhost连接到在其系统上运行的Linux服务器。

This also features a redesigned Cortana experience, streamlined file search in File Explorer, and customizable text cursor indicator.

还具有重新设计的Cortana体验,在文件资源管理器中简化的文件搜索以及可自定义的文本光标指示器。

Connecting to WSL via localhost on Windows 10

翻译自:

linux自定义内核

转载地址:http://rbuwd.baihongyu.com/

你可能感兴趣的文章
关于IO的一些数字
查看>>
高放的c++学习笔记之模板与泛型编程
查看>>
bzoj 1089: [SCOI2003]严格n元树
查看>>
mybatis 日期比较
查看>>
更新jdk
查看>>
string与StringBuilder之性能比较
查看>>
python3----练习题(购物车)
查看>>
IOS不错的学习资源特别是图片效果的处理上
查看>>
HDU 2072(字符串的流式操作,学习了)
查看>>
win10 vs2015源码编译opencv、opencv_contrib、Tesseract
查看>>
css取消a标签在移动端点击时的背景颜色
查看>>
Annotation(注解)
查看>>
MySQL(四)--练习题
查看>>
高效掌握C#第五回---猜单词游戏
查看>>
07-Java 中的IO操作
查看>>
uclibc,eglibc,glibc之间的区别和联系【转】
查看>>
Java魔法堂:找外援的利器——Runtime.exec详解
查看>>
mysql数据库存放路径
查看>>
TestNG(五)常用元素的操作
查看>>
解决 Visual Studio 点击添加引用无反应的问题
查看>>