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 为例):