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

I downloaded a Linux Kernel from, then I used menuconfig to customize it.

After a lot of customizing it works just like I need it to, and I don't want to loose this actual configuration, so I could later (in another machine, by example) download the same kernel version, and use my configuration. How could I do that?

share|improve this question
up vote 7 down vote accepted

Just copy .config file from source directory. This file contains your current configuration.

Also when updating sources you can do make oldconfig to preserve old changes and only decide what to do with new stuff, it will only ask about new configuration options (updates current configuration). You still need to move in your old .config file before you can use this.

share|improve this answer
and also archive the .config's in github? – Chris K Jun 20 '12 at 23:49

You can either save the config file to a custom location directly in menuconfig and load a custom one there as well or you can save the .config file from the kernel source location eg /usr/src/linux/.config

To save directly in menuconfig scroll down to the last two options Load / Save an Alternate Configuration File

share|improve this answer

into Kenrel Source Directory copy ".config" and replace in to destination directory.

share|improve this answer

You must log in to answer this question.

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