|
1. 从www.kernel.org下载 linux-nernel-2.6.13.tar.gz
2. tar fzxv linux-kernel-2..13.tar.gz .解压
3. aptitude install libncurses-dev kernel-package fakeroot 安装必须的工具和需要的库
cd 到你解压的目录
4.make mrproper
5.make menuconfig 配置你自己的内核,你可以使用目前自己的系统中的配置文件,Load alternative config ,输入/boot/config-x.x.x-x,在此基础上你可以删剔除你的系统根本不需要的模块,例如ipv6,等
6.在device drivers->Character drivers->下所有关于3dfs 3dlabs选项去掉,否则编译过程会出错 ,不知道为什么?原因正在查找
7.make-kpkg --initrd --append-to-version kernel-image ,编译并生成内核文件,此过程完成后,当前目录的上一级目录生成 kernel-headers-2.6.13-custom_10.00.Custom_i386.deb
8.make-kpkg --append-to-version kernel-headers 前目录的上一级目录生成 kernel-headers-2.6.13-custom_10.00.Custom_i386.deb
9.cd 到当前目录的上级目录,
dpkg -i kernel-headers-2.6.13-custom_10.00.Custom_i386.deb
dpkg -i kernel-image-2.6.13-custom_10.00.Custom_i386.deb
好了 reboot,开始你的新内核激动人心的体验吧!
看到这儿,还不赶紧动手!?
有情提示:
1. 对于Nvidia的显卡,此内核配置完成后,从www.nvidia.com下载最新的驱动 xxx.run切换到控制台窗口运行 sh xxx.run 能够成功安装.
2.对于 Intel 825 855GM 显卡的本本可以在编译的时候直接选择上对应的显卡驱动。
3. 但是对于Intel wirless 2100系列的无线网卡,在编译ipw2100时出错, google了一下,原来是由于Ieee8211.h没有在新的内核中更新,目前问题没有得到解决。 |
|