前言
这是一系列巨长并且更新周期漫长的文章中的第一篇,以最新的longterm内核+XanMod补丁集作为参考,希望能帮助读者理解Linux内核。
当前内核版本: linux-5.15.54-xanmod1
当前架构:AMD64
快速上手
对于新手,仍推荐使用gentoo-kernel-bin
来进入新安装的系统,在使用一段时间后,再进行内核的改动。无论是否需要精简内核,推荐使用make localyesconfig
来获取一个满足当前运行软件的最小内核配置。
如果你去除掉了initramfs
,请记得要保证硬盘的块设备驱动与根目录对应的文件系统驱动都编译进了内核。
General setup
(WIP)
64-bit kernel
选中以编译64位内核,即:x86_64
;否则编译32位内核,即:i386
。
Processor type and features
(WIP)
Power management and ACPI options
(WIP)
Bus options (PCI etc.)
(WIP)
Binary Emulations
(WIP)
Virtualization
(WIP)
General architecture-dependent options
(WIP)
Enable loadable module support
(WIP)
Enable the block layer
(WIP)
IO Schedulers
(WIP)
Executable file formats
(WIP)
Memory Management options
(WIP)
Networking support
(WIP)
Device Drivers
(WIP)
File systems
(WIP)
Security options
(WIP)
Cryptographic API
(WIP)
Library routines
(WIP)
Kernel hacking
(WIP)
Gentoo Linux
(WIP)