Slackware 中默认提供的内核有两种,一种是默认使用的huge,一种是generic,下面是官网12.0 版本发行通告里的一段话:
There are two kinds of kernels in Slackware -- the huge kernels, which
contain support for just about every driver in the Linux kernel. These are
primarily intended to be used for installation... The
other type of kernel is the generic kernel, in which nearly every driver
is built as a module.
简单来说huge 内核驱动在内核中,而generic 内核驱动则做成模块的形式,所以内核体积偏小。
下面说下怎么从默认的huge 内核切换到generic 内核(Slackware Linux 14.1 为例):

本文介绍了如何将Slackware Linux从默认的huge内核切换到generic内核。根据官方12.0版本的说明,huge内核包含驱动,而generic内核的驱动作为模块。切换过程涉及创建initrd,指定内核版本,更新lilo配置并重启。成功启动generic内核后,通过dmesg检查一切正常。

3万+

被折叠的 条评论
为什么被折叠?



