Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded a Linux Kernel from www.kernel.org, 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
add comment

3 Answers 3

up vote 5 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
add comment

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.