文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>如何编译内核

如何编译内核

时间:2006-03-08  来源:pipehappy

以下的内容是根据 http://www.linuxquestions.org/questions/showthread.php?t=127095 http://www.linuxquestions.org/questions/showthread.php?s=&threadid=49035 所整理的。   仅限于slackware。   第一步,改lilo.conf,加入老的内核的相关内容,以防万一。 写入以下内容到lilo.conf中: image = /boot/vmlinuz.old #以下的地址改为机器的合适位置
root = /dev/hda1
label = slack.old
read-only
再运行lilo刷行一遍。   第二步,改makefile。 去掉/usr/src/linux/Makefile中 #export INSTALL_PATH=/boot 前的注释。   第三步,一路make。 make menuconfig (make your changes here...when done, save your new configuration)
make dep (sets all the kernel dependencies)
make clean (removes un-needed files)
make bzImage (builds the kernel)
make
make install (installs, moves and renames all the needed files and updates lilo)
make modules (builds all the kernel modules)
make modules_install (installs the modules)

到这里,就好了,重启,如果不行就用老的内核,如果可以就。。。
 
相关阅读 更多 +
排行榜 更多 +
试着飞手游下载

试着飞手游下载

休闲益智 下载
血染小镇(功能菜单)中文版下载

血染小镇(功能菜单)中文版下载

飞行射击 下载
泰坦之旅高爆版下载

泰坦之旅高爆版下载

角色扮演 下载