阅读:1793回复:7
如何编译linux内核?
如何编译linux内核?
|
|
沙发#
发布于:2003-07-28 11:41
可以看书〉〉〉〉〉〉〉〉〉〉〉〉〉
|
|
板凳#
发布于:2003-07-28 11:46
对么,很多书都有
|
|
地板#
发布于:2003-07-31 02:12
这个我回答,有分没?我挣!哈哈
#make menuconfig (or make xconfig) change the kernel options as you wish. #make dep; #make zImage(if there are errors,modify the kernel source code or take out the relevent options,then do this again until it pass through.) [编辑 - 7/31/03 by stonepine] |
|
地下室#
发布于:2003-07-31 10:29
如何编译linux内核? you can follow the steps below,redhat9.0 as the target OS, 1.enter /usr/src/linux-2.4.20-8/ 2.#make menuconfig , make some choice in the menu as you need, 3.#make dep , if there are errors,rerun 2 according to the error messages 4.#make bzImage, build the kernel, it will took you about 30 minutes or so 5.#make modules modules_install, build modules & install the modules 6.#cp bzImage /boot/vmlinuz-2.4.20-8custom, copy the kernel to boot dir 7.#cp System.map /boot/System.map-2.4.20-8custom 8.#vi /etc/lilo.conf, modify the config file 9.#lilo , enable the configuration 10.#reboot |
|
5楼#
发布于:2003-08-12 20:49
:P:我也来凑热闹来了。
其实很多书上都有讲的,而且讲得很清楚。 要学这个就要靠自己,才会是最好的创造!! [编辑 - 8/12/03 by jiaoyer_lin] |
|
|
6楼#
发布于:2003-08-20 10:52
surf internet, search it in google, you could get lots of things about this issue. that\'s far enough to handle your problem
|
|
7楼#
发布于:2003-08-20 20:54
#make menuconfig (or make xconfig)
#make dep;make clean #make bzImage #make modules;make modules_install #make install /* This step will auto copy the new kernel to the right folder and moddify your lilo.conf or grub.conf */ #reboot /* After reboot, you will see the new option in the boot menu */ /* You can refer the attachment for more information */ |
|
|