Home arrow linux administration tutorial arrow Compiling a kernel in Debian

Login Form






Lost Password?
No account yet? Register

Syndicate


SUSE 9.1 Professional PDF Print E-mail
 
During the last week I had the opportunity to test the Proffesional new version of SUSE 9.1. As is usually the first impression is often Plock Buy Joomla Templates atorvastatin 10mg med the most important, I was afraid to open the box. Collected a little courage I opened it. I could not go with admiration. SUSE AG postarala really to give SUSE. Yes it should appear each boxed version of GNU / Linux. In the middle of a consumer who bought the package is 2 books dealing with Linux: Administration speed test SEO červené víno Guide "and" User Guide ", a package of CDs and the 2 disc DVD bilateral (DVD1 and DVD2 installation source), plus a package of regular CD needed for installation - total 7 discs. In addition, SUSE AG, the plate with a full version of the database SQL Anywhere Studio for Linux v9.0 and SUSE extra sticker with the logo - with the chameleon. That was a first impression.


Compiling a kernel in Debian PDF Print E-mail
Written by Administrator   

In Debian, the kernel can perform in a traditional (manual), as in all other distributions, as well as the package kernel-package. I will try to bring the installation of the latter method because it is simpler in implementation, it takes us less time for it to get ready deb packages, containing an image with the kernel modules, header files, source code, and even documentation.

To be able to compile without any obstacles should be installed in the system the following components:
# Gcc,
Libc6-dev #
# Bin86
# Ncurses-dev (only during the installation of the config menu)
# Tk-dev (If you use xconfig)
# Fakeroot (if we want to run the installation as an unsecured liabilities user)
so if everything is already there we need to take to work.

At the beginning of the source Downloads:

apt-get install kernel-source-2.4.18

After you install the source can be found in the directory / usr / src in the file kernel-source-2.4.18.rar.bz2. To uncompress the file and create a directory structure containing the source files, issue the command:

zjf tar-kernel-source-2.4.18.tar.gz2

Now, take the package to build the kernel:

Use the command make-kpkg build menu-config configuration file that contains the modules you want to have in our kernel. When you move the menu pomacą arrows. If you want to permanently add the driver to select it by pressing "Y" if you want to exclude it from the kernel to mark it by pressing "N" if you want the driver to be accessible in the future as ładowalny module to it key zaznaczmy "M". On the submenu, leaving the key "ESC".

After you select the modules corresponding to our type

make-kpkg clean

and then build the deb package using the command:

make-kpkg-revision kernel_headers kernel_image NazwaKernela0.1

Now wait a bit until the directory is set up above 2 files. deb install it like any other paczkę.deb

dpkg-i kernel-image-2.4.18_NazwaKernela0.1_i386.deb
dpkg-i kernel-headers-2.4.18_NazwaKernela0.1_i386.deb

And our new kernel is now ready for use. Just now, that will reset the computer and start it again now with the new kernel

 
Next >