Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

can you give me some advantages of Recompilation of New Linux Kernel and Installations.

make xconfig modules modules_install install

this is what i`m talking on. can someone provide me the basic needs and Advantages?.. Thanks for helping me

share|improve this question

migrated from Jun 6 '10 at 7:06

This question came from our site for professional and enthusiast programmers.

Generally, unless you need a specific option not compiled into a kernel, and/or need a smaller kernel optimised for size (say for an embedded system)... not much at all. Its one of those 'if you REALLY need to ask, it probably means you don't need to do it' things.

share|improve this answer

Usually one only needs it if he got some problem and it can be solved with the kernel. But. There are so many advantages, one can't really list them.


  • Faster boot (well if you sort out all the modules and use only "compiled-in" parts)
  • Better security (you can patch the kernel to become more robust, secure)
  • Create a real-time kernel (for multimedia purpose)
  • Apply patchset like -mm or change scheduler (on some PC this can dramatically increase responsiviness)
  • Changing the kernel to pre-empt for example can help in the terms of responsiviness also.
  • You can enable/disable security (AppArmor for ex)
  • You can enable/disable logging, debugging support (both helps to make a smaller, a bit faster kernel if you dont need them.)

Just some of the sooo many options. On Ubuntu its really simple to create a new kernel. There is a nice howto about this:

You can read it how to configure it up here. Basically if you use make menuconfig and press ? it'll throw out the relevant help for the given item.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .