6. 安装内核模块和头 sudo make modules_install headers_install 7. 复制到windows文件夹内 cp arch/x86/boot/bzImage /mnt/d/ 8. 修改WSL配置文件替换内核 WSL配置文件在C盘%USERPROFILE%目录下,没有可以自己创建.wslconfig。添加以下内容 [wsl2] kernel=C:\\bzImage 9. 关闭WSL Administrator权限开启Power...
5. 下载Microsoft的 WSL2 内核配置并将其放在某个地方 wget https://raw.githubusercontent.com/microsoft/WSL2-Linux-Kernel/linux-msft-wsl-6.1.y/arch/x86/configs/config-wsl -O arch/x86/configs/config-wsl 6.使用所有线程编译内核 make KCONFIG_CONFIG=arch/x86/configs/config-wsl -j$(nproc) 7.我...
5. 下载Microsoft的 WSL2 内核配置并将其放在某个地方 wget https://raw.githubusercontent.com/microsoft/WSL2-Linux-Kernel/linux-msft-wsl-6.1.y/arch/x86/configs/config-wsl -O arch/x86/configs/config-wsl 6.使用所有线程编译内核 make KCONFIG_CONFIG=arch/x86/configs/config-wsl -j$(nproc) 7.我...
# Specify a custom Linux kernel to use with your installed distros. The default kernel used can be found at https://github.com/microsoft/WSL2-Linux-Kernel # Sets additional kernel parameters, in this case enabling older Linux base images such as Centos 6 kernelCommandLine = vsyscall=emulate ...
顯示其他 6 個 開發人員可以在 Windows 電腦上同時存取 Windows 和 Linux 的功能。 適用於 Linux 的 Windows 子系統 (WSL) 可讓開發人員安裝 Linux 散發套件(例如 Ubuntu、OpenSUSE、Kali、Debian、Arch Linux 等),並直接在 Windows 上使用 Linux 應用程式、公用程式和 Bash 命令列工具,完全未經修改,而且不需要傳...
kernelModules路径自定义 Linux 内核模块 VHD 的绝对 Windows 路径。 memory大小Windows 上总内存的 50%要分配给 WSL 2 VM 的内存量。 processors数字Windows 上相同数量的逻辑处理器要分配给 WSL 2 VM 的逻辑处理器数量。 localhostForwarding布尔true一个布尔值,用于指定绑定到 WSL 2 VM 中的通配符或 localhost ...
While the current WSL2 kernel is based on a version 5.x of the Linux kernel, the latest lts version is the version 6.x. ملاحظة you can find additional information about the Microsoft Linux kernel on the WSL2 Kernel GitHub page. While the kernel version 5.x could be ...
# Specify a custom Linux kernel to use with your installed distros. The default kernel used can be found at https://github.com/microsoft/WSL2-Linux-Kernel kernel=C:\\temp\\myCustomKernel # Sets additional kernel parameters, in this case enabling older Linux base images such as Centos 6 ke...
6ac7abb Compare linux-msft-wsl-5.15.167.4 Release rolling-lts/wsl/5.15.167.4 Update to stable kernel version v5.15.167 Include an out-of-tree patch fixing a bug in the XSAVES subsystem. This patch will be included upstream in future 5.15 stable kernels. ...
在前面两篇文章:《【图文教程】Windows11下安装Docker Desktop》及《Windos11下通过WSL安装centos7系统》我们已经在自己的Windows系统上安装了CentOS7系统。然后使用powerShell可以直接连接到CentOS系统中。 不知道大家有没有发现,powerShell直接就连接上了。没有让我们输入用户名和密码。是不是很神奇?如上图,选择了对应...