Linux in General > Linux Kernel

HOW TO EDIT THE LINUX KERNEL

(1/1)

ozioma:
PLEASE HOW CAN I EDIT THE LINUX KERNEL WHAT ARE THE COMMANDS



THANKS
OZIOMA

dalek:
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

dragoncity99:
Go here, hope it helps u ;)

http://www.recompile.org/index.php?page=qdkernel.htm

neo:
Well to recompile the kernel go in the directory where the kernel source is installed ie. /usr/src/linux <ver>
type
 
 

--- Code: ---make menuconfig
--- End code ---
now ull get a menu like structure then choose ur config and save and exit
type

--- Code: ---make bzImage
--- End code ---
this will compile the kernel
type

--- Code: ---make modules
--- End code ---
then type

--- Code: ---make modules_install
--- End code ---
type

--- Code: ---make install
--- End code ---
for installing the new compiled kernell

dalek:
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

Navigation

[0] Message Index

Go to full version