Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Kernel => Topic started by: ozioma on June 13, 2004, 06:47:57 PM

Title: HOW TO EDIT THE LINUX KERNEL
Post by: ozioma on June 13, 2004, 06:47:57 PM
PLEASE HOW CAN I EDIT THE LINUX KERNEL WHAT ARE THE COMMANDS



THANKS
OZIOMA
Title: HOW TO EDIT THE LINUX KERNEL
Post by: dalek on June 15, 2004, 04:15:33 AM
Never did it but you have to edit the source code then compile the kernel.

Why do you want to do that?  

:D :D :D
Title: HOW TO EDIT THE LINUX KERNEL
Post by: dragoncity99 on June 15, 2004, 03:54:56 PM
Go here, hope it helps u ;)

http://www.recompile.org/index.php?page=qdkernel.htm
Title: HOW TO EDIT THE LINUX KERNEL
Post by: neo on July 07, 2004, 04:43:34 PM
Well to recompile the kernel go in the directory where the kernel source is installed ie. /usr/src/linux <ver>
type
 
 
Code: [Select]
make menuconfignow ull get a menu like structure then choose ur config and save and exit
type
Code: [Select]
make bzImagethis will compile the kernel
type
Code: [Select]
make modulesthen type
Code: [Select]
make modules_installtype
Code: [Select]
make installfor installing the new compiled kernell
Title: HOW TO EDIT THE LINUX KERNEL
Post by: dalek on July 07, 2004, 07:08:08 PM
neo's instructions work for the 2.4 kernels.  2.6 kernel are a bit different.  There are actually fewer commands for the compile.  The config works for both 2.4 and 2.6 kernel.

Later

:D :D :D :D