You could try make oldconfig in the source directory of the running kernel. I would examine the configuration closely after that by "make xconfig" (from X of course) to make sure it's the way you want it and it's a little easier to do that with the gui. I just yesterday did this same thing as an experiment. I copied the .config file made to the new kernel source dir, ran make xconfig again and simply saved the configuration on exit. then the usual make dep ; make etc. The resulting kernel had all the properties of the previous kernel. Hope this works for you. Keep in mind that as long as the kernels are fairly close in version this can probably work but between widely different versions I suspect it would surely fail.
I am using RH9 and recently got a kernel update to version 2.4.20-30.9. I have the binary kernel as well as the source installed with RPM's.
How can I find out how exactly the binary kernel has been compiled (with what .config file)?.
I am looking for this information, because I would like to make a minor change to the kernel configuration but would like to base on exactly the same configuration (.config file) as the current binary kernel is based on.
The source I get with the RPM's does not include any .config file.
Anybody who can help with this?
Thanks a lot