[Ilugc] how to recompile kernel

  • From: anant@xxxxxx (Anant Narayanan)
  • Date: Thu Apr 6 14:29:07 2006

Prasanna,


   so i have to place the source of the kernel in

  /usr/src/linux  and then how to recompile it is there any utility available 
...

/usr/src/linux is usually a symlink to the actual directory of your
kernel source.

Once you are in the directory of your kernel source, type:

make menuconfig

and you will get a nice interface to configure your kernel. After you're
done, save your changes and then type:

make && make modules_install

to recompile your kernel. The kernel image will then be located in
arch/i386/bzImage; which you may have to copy to your boot drive, and
point grub (or your bootloader) to it. These instructions are valid only
for the 2.6.x kernels.

Hope this helps.
-- 
Anant

Find Freedom, Go Open Source!
http://www.kix.in/

Other related posts: