编译内核2.4.20-8custom[3]

[入库:2005年9月19日] [更新:2007年3月24日]

本文简介:

#make modules_install 安装内核模块

记着查看/lib/modules新生成一个目录为:2.4.20-8custom
#mkinitrd /boot/initrd-2.4.20-8custom.Img  2.4.20-8custom
生成启动镜像文件
# cp /usr/src/linux-2.4/System.map /boot/System.map-2.4.20-8tcp

删除原有的/boot下的System.map文件

Ln –s /boot/System.map-2.4.20-8tcp /boot/System.map
#vi /etc/grub.conf #
在最后部分添加如下行:
title Red hat  Linux (2.4.20-8-tcp01)

         root (hd1,5)

        kernel /vmlinuz-2.4.20-8tcp ro root=LABEL=/12

        initrd /initrd-2.4.20-8custom.img

:wq!
#reboot
重新启动后就可以看到刚刚安装好的内核了。

本文关键:编译内核2.4.20-8custom
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top