LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i recompile my kernel? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-recompile-my-kernel-454966/)

Titanas25 06-15-2006 03:10 AM

How do i recompile my kernel?
 
Hello all knowledge seekers.

I have done changes to the hostap driver and i want to recompile my kernel so that i unclude it as a module with the new changes.

How will i start?What are the steps to do?Any help will be appreciated!

Zmyrgel 06-15-2006 03:15 AM

Go to directory which holds your kernel source (usually /usr/src/linux).
Type: "make menuconfig" which should open ncurses interface where you can set your kernel
After that you need to compile your kernel and modules using "make && make modules_install".
Then you need to copy your new kernel to /boot "cp arch/i386/boot/bzImage /boot/kernel".
Modify your grub.conf / lilo.conf to use the new kernel and that should be it.

Above is for 2.6 series of kernels and it might need some distro specific modifications. But basicly it goes like that.


All times are GMT -5. The time now is 02:29 PM.