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

If a previous kernel (assuming it is not from the stone age) compiles successfully, does it make sense to assume that old config file if copied to the new kernel, will compile successfully too?

What things need to be taken care of?

share|improve this question
up vote 3 down vote accepted

Copy the old .config file and then, to know what needs to be taken care of, use make oldconfig. You will be prompted interactively for needed changes in your config file. It's almost safe to answer with the default option to every question. (Usually you don't care about new drivers, and you want to use new features when those are enabled by default).

If you skip this configuration update step, things might break.

share|improve this answer

It is not guaranteed. Some config options may change, some dependencies may change, some functionality that is referred to by config options may change. You should not rely on it.

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.