The configuration of the current kernel is stored in
/proc/config.gz. To modify
this configuration, go to the directory
execute the following commands:
zcat /proc/config.gz > .config make oldconfig
The command make
uses the file
/usr/src/linux/.config as a
template for the current kernel configuration.
Any new options for your current kernel sources are queried.
If the file
.config does not exist,
the default configuration included in the kernel sources
The kernel's configuration options cannot be covered here in
detail. Make use of the numerous help texts available on kernel
configuration. The latest kernel documentation is always in
To configure the kernel, change to
/usr/src/linux and enter the command
make config. Choose the features you
want supported by the kernel. Usually, there are two or
three options: Y, N, and
M. M means that this device
should not be compiled directly into the kernel, but loaded as
a module. Drivers needed for booting the system must
be integrated into the kernel with Y.
Press Enter to confirm the default
settings read from the file
Press any other key to view a brief help
text about the respective option.
menuconfig is a more comfortable way to
configure the kernel. If necessary, install
with YaST. Start the kernel configuration with the command
For minor changes in the configuration, you do not have to go
through all the questions. Instead, use the menu to access
certain sections directly. The default settings are loaded from
.config. To load a different
enter the filename.
If you installed and configured the X Window System (package
xorg-x11) and the
QT development package (
qt3-devel), you can use the command
make xconfig to access a graphical
user interface for the configuration.
If you are not logged in to the X Window System as
root, enter the
command su to obtain a
root shell with
access to the display. The default settings are loaded from
.config. Because the configuration
is not as well maintained as the other configuration
possibilities, run the command
after using this configuration method.