歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 老話新說,RedHat 公司 推薦編譯內核方法

老話新說,RedHat 公司 推薦編譯內核方法

日期:2017/2/27 14:17:42   编辑:更多Linux
  老話新說,RedHat 公司 推薦編譯內核方法 (30 本文字數) (672 閱讀) 作者:馬路遙 本文部分取自於RH300(RHCE Rapid Track Course)課本 本文假定你用的是Redhat 7.2,用grub 管理啟動.准備編譯7.2 自帶的內核 cd /usr/src/Linux-2.4 make mrproper edit Makefile 文件 把EXTRAVERSION= 改成有你特色的文字, 比如: EXTRAVERSION=-10me make menUConfig or make xconfig make dep make bzImage make modules make modules_install cp System.map /boot/System.map-2.4.7-10me cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.7-10me new-kernel-pkg --install --mkinitrd --depmod 2.4.7=10me (重新啟動就可以了)




Copyright © Linux教程網 All Rights Reserved