Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

My current kernel version on with my OS running on is 3.2.0.

Can I compile a kernel of version 2.4.0 on it?

Is there any perfect kernel documentation available? (As I see different ways of compiling kernel, expecting a unified documentation which lists all possible ways)

share|improve this question
“Cross-posting is strongly discouraged” – FAQ. Crossposts like Kernel compilation of version 2.4 on a system running 3.2.0 on Ask Ubuntu are not appreciated. – manatwork Mar 15 '13 at 11:12

You can try to compile a kernel 2.4 although because of the newer libc and newer compiler, you might get some compilation troubles... So you would need to create a sort of chroot environment with an older libc and older GCC, which is not that easy!

Just compiling it will not do any harm. But it might be too much work to do. So is it worth it?

share|improve this answer
Nope. For now, I go with compiling it on OS with kernel 2.6. Thanks – Karthi prime Mar 15 '13 at 10:57

Get an old distribution (there are several archived). But new hardware won't work, and much oldish software will feel archaic (or be outright broken in today's environment).

What do you want to get out of this? The questions you ask on the matter don't give any clue. It looks very much like an XY problem: You want do do X, come to the (probably wrong, at least misguided) conclusion that to acomplish X you need to do Y, and ask about Y... and there are much better ways for doing X (if X can even be done using Y). Pray tell what you really want to do. Otherwise we will run around in circles having inmense fun comming up with ever more esoteric ways of doing what you ask, but you'll be not a step closer to solving your problem.

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.