Sorry for the delay in responding -- I was away. Oliver Ob wrote:
Paul Abrahams schrieb:
dc@k-net.de wrote:
Can anyone tell me how I can start xconfig or menuconfig so that it sets the options to the current running configuration. The configuration that I have is fine and I just want to add a few things to it. Thankx
Depending on whether you're recompiling a stock kernel or a SuSE kernel, use
make oldconfig
or
make cloneconfig
That will reproduce the config file, asking you what you want to do about the new stuff.
What precisely is the difference between 1) make oldconfig and 2) make cloneconfig
I believe that "make oldconfig" is provided by stock kernels from kernel.org, while "make cloneconfig" is provided by SuSE for SuSe-prepared kernels. I don't know what the difference in behavior is, nor do I even know if you can use "make oldconfig" to switch from a SuSE kernel to a stock kernel, or "make cloneconfig" to switch from a stock kernel to a SuSE kernel. Maybe somone else here knows.
secondly, is this below listed way not enough to run on an existing/running config?
mv /boot/*.config /usr/src/linux cd /usr/src/linux make xconfig make dep make clean make bzImage make modules make modules_install mv /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz mv /usr/src/linux/System.map /boot/System.map /sbin/lilo mv /usr/src/linux/*.config /boot where in this script would you why add "make oldconfig" or respectively "make cloneconfig" ?
You'd add it just before "make xconfig", and you might not even need "make xconfig" at all since the chances are that the configuration will already be acceptable. Paul