您的位置:首页 > 运维架构 > Shell

Linux kernel in a nutshell

2010-03-10 09:44 323 查看
1. config kernel

make config

make defconfig

2. config kernel by graphical mode

make menuconfig

make gconfig

make xconfig

3. update kernel

make oldconfig

make silentoldconfig

4.backup .config file

$cd ~linux/linux-2.6.17.11

$cp .config ../good_config

5.general process

$make menuconfig

$make

$su - root

#make modules_install

#make install

6.update kernel source code

2.6.17 is base kernel, 2.6.17.1 is stable kernel, 2.6.18-rc1 is development kernel;

stabe kernel patches apply to the base kernel version, for example, patch-2.6.17.10.bz2 -> 2.6.17;

base kernel release patches only apply to the previous base kernel, for example, patch-2.6.18.bz2 -> 2.6.17;

incremental patches upgrade from a specific release to the next release, for example, patch-2.6.17-18.bz2 -> 2.6.17.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: