Once you've downloaded Linux from (or from anywhere for that matter), you should proceed as follows:

$ su
# cd /usr/src/
# gzip -cd linux-2.4.XX.tar.gz | tar xvf -
# ln -s linux-2.4.XX linux
# cd linux

Where XX is the version number of your kernel. To configure and compile the kernel, you need to use the Makefile that is distributed with the kernel sources. The figure below shows the possible parameters for the Makefile.

make $Regel Zweck
make psdocs
make pdfdocs
make htmldocs
creates documentation in the appropriate format (PostScript/PDF/HTML)
make mrproper forces delete of old object files and dependencies
make clean deletes old object files
make config configure kernel (plain ASCII)
make menuconfig configure kernel (ASCII-menus)
make xconfig configure kernel (X Window-based)
make oldconfig takes an existing ./.config as config defaults
make dep setup all dependencies
make bzImage create a "bzip2" compressed kernel image
make bzdisk create a "bzip2" compressed kernel boot disk
make install installs new kernel - only if you use the LILO boot loader
make modules
create and install kernel modules
see Documentation/modules.txt

When configuring, you can choose between make config, make menuconfig, make xconfig, make gconfig and make oldconfig.

This picture shows make xconfig

Konfiguration mit Hilfe von xconfig

... and this one make menuconfig.

Konfiguration mit Hilfe von menuconfig

So as you can see, you can configure Linux comfortably using graphical dialogs. More information on the individual kernel configurations can be found under (German)

Zurück Momentan Vorwärts

Valid XHTML 1.0! Valid CSS! Made with Cascading Style Sheets best viewed with any browser Debian GNU/Linux
Last Change: 2012-02-04 16:04:44