warbirdnut wrote:

There are a couple of ways to do this. I haven't played with
Fedora so these options are rather generic.


1. Check and see if there is config.gz in /proc. This is your
current kernel configuration. You can do a "zcat /proc/config.gz
/usr/src/linux/.config" to use the orgional configuration. If the
origional kernel was built with Kernel .config support. The option
is in General.



Be warned I don't know if options 1 or 2 will work 100% or not if
the kernel versions are different. Perhaps some one could clarify
this?




For the most part, you can do this. Here's the trick I always use when using a config file from a previous kernel version - first run a make mrproper - that will put the source tree into a totally pristine state. Then put the old config file in place (in the case above, zcat /proc/config.gz > .config). Then, run "make oldconfig" - this will speed thru configuration options, using the answers provided in the old config file. However, for any *NEW* config options that are not present, it will ask you if you want to include them or not. Most of the time, assuming the previous kernel was working properly, you can say "N" to new options, but you can also read the description of those options by hiting "?".

HTH,

-J-

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to