1、前提要求
1)安装编译需要的工具
apt-get install gcc debhelper kernel-package
2) 安装一些编译内核需要的工具
-- kernel 2.6 必须要求使用module-init-tools来管理模块。所以必须安装 module-init-tools 和 modutils,
这些需要从debian 的 unstable 或者 testing 的源代码编译生成。
-- 使用 kernel 的一些特性,需要一些程序,比如 e2fsprogs, jfsutils, reiserfsprogs, xfsprogs 等等,
具体可以参见kernel source 下面的 Documentation/Changes。这里不讨论这些程序
2、安装步骤
编辑 /etc/apt/sources.list,加入:
deb-src http://debian.cn99.com/debian unstable main contrib non-free
apt-get update
apt-get source modutils module-init-tools
编译 modutils:
cd modutils-2.4.26
dpkg-buildpackage
编译 module-init-tools,需要打下面的 patch:
*** /t
1)安装编译需要的工具
apt-get install gcc debhelper kernel-package
2) 安装一些编译内核需要的工具
-- kernel 2.6 必须要求使用module-init-tools来管理模块。所以必须安装 module-init-tools 和 modutils,
这些需要从debian 的 unstable 或者 testing 的源代码编译生成。
-- 使用 kernel 的一些特性,需要一些程序,比如 e2fsprogs, jfsutils, reiserfsprogs, xfsprogs 等等,
具体可以参见kernel source 下面的 Documentation/Changes。这里不讨论这些程序
2、安装步骤
编辑 /etc/apt/sources.list,加入:
deb-src http://debian.cn99.com/debian unstable main contrib non-free
apt-get update
apt-get source modutils module-init-tools
编译 modutils:
cd modutils-2.4.26
dpkg-buildpackage
编译 module-init-tools,需要打下面的 patch:
*** /t