Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my server system is low on disk. To install a new kernel I think i shall do the following:

  1. compile the kernel on another system.

  2. copy bzImage along with config, and of course the laodable module in /lib/modules and transfer them to the server.

  3. Now, I can remove the server's old kernel to free up the space and put the the files in /boot as well as copying loadable modules to

no,... this is not the way, this way I need to make the drivers the image as well. There's another way, in ubuntu I can make .deb files of the headers and the linux, if I transfer only those two files to the server, I think i can install the new kernel using dpkg. what do you think?

share|improve this question
What's wrong with the default server kernel? – Marc-André Appel Mar 2 '12 at 23:23

If you have another Ubuntu system with the same processor architecture (or with properly set up cross-compiler environment), you can build kernel packages on that system, copy the resulting .deb files to your server and install. An overview of the procedure is available for example in community document Kernel/Compile.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.