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

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

Debian
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
    (apt-get.org)

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

  • Planet Debian
  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de
    (Deutsch)

  • DebianForum.dk
    (Dansk)

  • EsDebian
    (Español)

  • DebianWorld
    (Français)

  • Debian-Fr
    (Français)

  • MaximumDebian
    (Italiano)

  • DebianUsers
    (한국어)

  • Debian-BR
    (Português)

  • DebianHOWTO
    (Deutsch)

  • Russian Debian
  • Debian-JP
    (日本語)
  • Debian Suisse
    (Suisse)
  • 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

    IRC
    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.

    Sponsorship

    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

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

    Syndicate
    XML

    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

    Rob

    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: Friday, 2001/11/23 – 21:31
    For a more in depth description see the kernel compiling document at http://newbiedoc.sourceforge.net

    Any feedback is welcome.

    Jesse

    [ Please login, or register ]

    Subject: Re: Quickstart guide to kernel-package
    Author: MartinJ
    Date: Wednesday, 2001/11/07 – 16:04
    Tools like this is why I have started using Debian. I made a custom kernel for my system using this how-to last weekend. But when I booted on that kernel it did not appear to load any modules. And runing modconf as root showed no modules. Any clue what I missed?
    [ Please login, or register ]

     

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Tuesday, 2002/01/15 – 20:22
    I also had the exactly same problem as MartinJ did. I did make clean, make menuconfig, make-kpkg kernel_image and then installed the .deb it created. The new kernel seemed to be playing just fine, but there wasn’t any modules installed. I also tried doing make modules and make modules_install but without further success.

    Help, anyone? I really would appreciate it.

    –mike, marvNOSPAM@edu.lahti.fi

    [ Please login, or register ]

     

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Monday, 2002/02/18 – 09:57
    I haven’t had any problems with getting the kernel modules to install, but it is important to move your current modules directory out of the way (if it’s the same version) before running dpkg. Usually it warns you if you haven’t, but there you go anyway.

    The one problem I ever had with kernel-package and modules was with the pcmcia-source. It installs into /usr/src/modules/pcmcia. If you’re working with other custom modules maybe this will help. After configuring the source and making your .deb, from the kernel source directory (not the module source) run make-kpkg modules-image That will put another .deb in /usr/src and can be installed the same way as the first.

    -Calvin
    calvineDOESNOTLIKESPAM@san.rr.com

    [ Please login, or register ]

    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.
    Yours,
    husky
    [ Please login, or register ]

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Wednesday, 2001/04/11 – 12:25
    “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”

    Could you eleborate? what does “on hold” mean .. what package from which repository will overwrite my kernel.deb?
    Thanks.

    [ Please login, or register ]

     

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Monday, 2001/04/23 – 00:25
    In dselect, pressing = on your newly created package will put it “on hold”. With this apt will not try to overwrite your kernel-package with the kernel package from the debian repository.
    [ Please login, or register ]

     

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Tuesday, 2001/12/11 – 20:46
    and how do i find my package between the thousands listed?
    any sugestions?
    [ Please login, or register ]

     

    Subject: Re: Quickstart guide to kernel-package
    Author: Anonymous
    Date: Saturday, 2002/03/23 – 12:46
    Try pressing ‘/index.html’ when you see the package listing screen – then you can enter a phrase to look for. Scrolling through results is done by ‘n’ and ‘N’. If you are not familiar at all with those commands, just try pressing ‘?’ to open the help dialogue.

     see you, chris
      christian-neumair at web dot de

    [ Please login, or register ]

    Search articles



    Category
    ·News (278)
    ·Features (5)
    ·Site News (11)
    ·HOWTOs (50)
    ·Tips (11)
    ·Opinion (21)
    ·Q & A (20)
    ·Sponsorship (1)
    ·Press Releases

    Log in
    Username:

    Password:

    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-525 apache
    DSA-524 rlpr
    DSA-523 www-sql
    DSA-522 super
    DSA-521 sup
    DSA-520 krb5
    DSA-519 cvs
    DSA-518 kdelibs
    DSA-517 cvs
    DSA-516 postgresql

    Planet Debian
    Amaya Rodrigo: Slashdot post of the day
    Steve McIntyre: Dr Who without Daleks!?!
    Jeff Bailey: Nap time…
    Randall Donald: In the queue
    Randall Donald: New Drivers
    Wouter Verhelst: Mozilla
    Michael Janssen: A 90s geek!
    Sergio Talens-Oliag: High School Teacher Competitive Examination
    Daniel Stone: [life] geek packing
    Julien Danjou: Geek ?

    Latest poll: How often would you like to see a Debian release?
    3 months
    5%
       
    6 months
    18%
       
    9 months
    10%
       
    1 year
    46%
     
    1.5 years
    12%
       
    2 years
    6%
       
    3 years
    3%
       

    Total votes: 615
    7 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.