April 17, 2014, 09:41:26 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: HOW TO EDIT THE LINUX KERNEL  (Read 2786 times)

Offline ozioma

  • Tux Awared
  • **
  • Posts: 35
HOW TO EDIT THE LINUX KERNEL
« on: June 13, 2004, 06:47:57 PM »
PLEASE HOW CAN I EDIT THE LINUX KERNEL WHAT ARE THE COMMANDS



THANKS
OZIOMA

Offline dalek

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 221
HOW TO EDIT THE LINUX KERNEL
« Reply #1 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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
HOW TO EDIT THE LINUX KERNEL
« Reply #2 on: June 15, 2004, 03:54:56 PM »

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
HOW TO EDIT THE LINUX KERNEL
« Reply #3 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

Offline dalek

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 221
HOW TO EDIT THE LINUX KERNEL
« Reply #4 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