<br /> Quickstart guide to kernel-package – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de

  • DebianForum.dk

  • EsDebian

  • DebianWorld

  • Debian-Fr

  • MaximumDebian

  • DebianUsers

  • Debian-BR

  • DebianHOWTO (Deutsch)
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.


    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Support Debian through Bytemark Hosting. At least £7 will be given for each new account


    Quickstart guide to kernel-package
    Submitted by robster on Monday, April 02, 2001 – 21:26
    One of the most notable things that makes Debian stand out from the other distributions is the kernel-package tool. Which will create a nice easy to install kernel image as a Debian package which you can then install on your box or multiple other boxes, clever huh?
    You can install kernel-package by apt-get install kernel-package, if you do not already have it.

    Although the main use is for multiple boxes i use it when compiling kernels for just my own machine as I consider it safer and easier.

    First clean the source tree with make clean then create your kernel configuration as usual with make config, make menuconfig or make xconfig.

    You are now ready to create your kernel package, in the root of your source tree execute the command make-kpkg kernel_image.

    The compilation process will then be executed automagically for you, so go away and have a cup of coffee or a beer.

    Providing the compilation was successful (you should be worried if it is not), a .deb package of your custom kernel will be in the /usr/src/ directory. Install this with dpkg -i kernel-package-filename.

    Follow the instructions and away you go, (make sure you edit lilo.conf manually though & rerun lilo).

    Kernel-package has many more broader uses than are covered in this howto, the purpose of this document is to give you a quickstart guide to make-kpkg and to increase its awareness.

    If you are more interested please read the README file in /usr/doc/kernel-package.

    Update: you should put the package on hold after installing it, so that the package from the repository wont overwrite it.. or you should use flavours — ressu


    Control panel

    Comment viewing options:

    Select your prefered way to display the comments and click ‘Update settings’ to activate your changes.

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Wednesday, 2001/07/18 – 08:51
    An other method to stop apt from overwriting your custom kernel package is to invoke make-kpkg with the revision-option:
    make-kpkg kernel_image –revision=custom.1
    Note that the revision number can be numeric in front of the point, it needs to have a numeric behind.
    [ return ]

    Search articles

    ·News (202)
    ·Features (3)
    ·Site News (9)
    ·HOWTOs (41)
    ·Tips (7)
    ·Opinion (12)
    ·Q & A (19)
    ·Sponsorship (1)

    Log in


    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-392 webfs
    DSA-391 freesweep
    DSA-390 marbles
    DSA-389 ipmasq
    DSA-388 kdebase
    DSA-387 gopher
    DSA-386 libmailtools-perl
    DSA-385 hztty
    DSA-384 sendmail
    DSA-383 ssh-krb5

    Latest poll: Favourite Tetris shape
    Bar (|)
    L-shape (|.)
    Reversed L-shape (.|)
    Square (::)
    T-shape (.:.)
    Z-shape (‘:.)
    Reversed Z-shape (.:’)

    Total votes: 325
    2 comments · older polls

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.