Google
 
2007-11
28

Compile Linux Kernel

Filed under: 闲言碎语 — woojar @ 4:07 pm

uilding linux kernel process:

1. CD /usr/src/linux //the path that your linux kernel source code locates;

2.run make xconfiig or make menueconfig // select module kernel supports to make

3.make dep // make sure dependency works, maybe not needed on 2.6.XX

4.make clean // better do it.

5.make bzImage //generate kernel image

6.make modules //make related modules

7.make modules_install //install modules

8.copy your new kernel image to your boot directory (/boot/)

9.copy your new System.map file to your boot directory (/boot/)

10. edit your boot loader LILO or Grub.


Technorati : ,

Tags: ,

Related posts

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

35 queries. 7.274 seconds. Powered by WordPress
沪-ICP备07003363号 Stat.