编译 WSL2 内核

WSL2默认使用的内核是5.*,这里为WSL2编译最新(编辑时6.6.36.6)版本内核,以支持更多新特性

Mitigations for CPU vulnerabilities (CPU_MITIGATIONS) [Y/n/?] (NEW)选Y

Analog Devices Generic AXI ADC IP core driver (ADI_AXI_ADC) [N/m/?] (NEW)选n

编译中:

编译完成后没有提示

编译完成后的文件在arch/x86_64/boot下,文件名为bzImage。

可以用命令mv arch/x86_64/boot/bzImage mnt/c/kernel把编译完的内核文件移动到C盘根目录下。

返回 鄂ICP备2024069158号-3 下载内核