Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I have an existing Centos 5.5 box that really needs a couple features available in kernel version 2.6.32 and up.

Is it possible to take a RHEL6 kernel and build it on my Centos 5.5 installation? I can grab the vanilla kernel from, but what I really want is the enterprise linux kernel configuration and settings.

Copying my existing Centos 5.5 config and using it on the modern kernel might not be such a good idea because it won't have settings for some of the new features I am seeking to use (such as TRIM for SSDs).

Would it be possible to use the RHEL6 config since Centos 6 is not yet released?

share|improve this question

You can compile the RHEL6 kernel on Centos 5. It is the same as compiling a vanila kernel from the only difference would be that you would be you would be using source rpms.

Programs with statically linked libraries would need to be recompiled probably.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.