Find the answer to your Linux question:
Results 1 to 3 of 3
I have made changes in the existing linux kernel source code and i just want to update this existing kernel instead of installing a new kernel I dont want to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    30

    updating an existing kernel


    I have made changes in the existing linux kernel source code and i just want to update this existing kernel instead of installing a new kernel
    I dont want to perfrom all the compiling and installing steps again!!!
    Plz help.

  2. #2
    Linux Newbie theNbomr's Avatar
    Join Date
    May 2007
    Location
    BC Canada
    Posts
    155
    You must compile C source code to effect the respective change in the object code. However, the good news is that the only modules which need to be re-compiled are the ones that were modified. Such is the beauty of make.
    Once the code is compiled, it must be installed. There just isn't any way around it. After all, those steps aren't done just to take up time and effort; they actually do serve a valid purpose.
    --- rod.
    Stuff happens. Then stays happened.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,709
    1. Change source code.
    2. Compile kernel with the "make" command.
    3. As root, install kernel with "make install".
    4. Reboot into new kernel.

    Make sure you change the kernel ID so that when installing it doesn't blow away the previous kernel, possibly causing you to "brick" the system.

    5. If you have never built/installed a kernel before, read some of the How-To's on the appropriate distribution web sites.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •