Kernel: Configuring installable kernels

Support knowledgebase (maddin_kernel_config)
Applies to

SuSE Linux: Versions since 4.2

Request:

You want to configure and compile a new kernel. You're currently using one of the standard kernels of the SuSE Linux-CD. All settings of this kernel should be preserved.

Solution:

For SuSE Linux 6.4 or later:

The configuration info is installed in the source tree if you installed the kernel sources and it's installed as /boot/vmlinuz.config. Additionally you may view the configuration of the running kernel via less /proc/config.gz. In order to copy this configuration to your kernel source tree, proceed as follows:

cd /usr/src/linux
make cloneconfig

This does only work when compiling the SuSE kernel source, i.e. you installed the package lx_suse from series d.

Now you have an exact copy of the configuration of the currently running kernel and you can adapt it according to your needs.

For versions prior to SuSE Linux 6.4:

All necessary information can be found on CD 1 in the directory
/suse/images/config
e.g. if you're using the kernel scsi01, the corresponding configuration file is called config.scsi01.ikr.

It is not possible to get this information directly from the current kernel.

In order to use this configuration, you should do the following :

cp /cdrom/suse/images/config/config.scsi01.ikr /usr/src/linux/.config
cd /usr/src/linux
make oldconfig
Now you have an exact copy of the configuration of the currently running kernel and you can adapt it according to your needs.
Keywords: CONFIGURATION, KERNEL, BOOTING, CD, INSTALLATION

Categories: Kernel

SDB-maddin_kernel_config, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 27. Jan 1997
SuSE Linux AG - Last generated: 17. Apr 2000 by martin.scherbaum (sdb_gen 1.40.0)