Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Good day everyone. I occasionally update my kernel from this web site http://kernel.ubuntu.com/~kernel-ppa/mainline/

I have been always downloading 3 deb files for installing linux header all, linux image and linux headers. I noticed one more deb file recently for 64 bit kernel called Linux-image-extra.

I would like to know what does kernel file Linux-image-extra do and should I also install it?

share|improve this question

2 Answers 2

up vote 21 down vote accepted

It contains extra drivers left out of the base kernel package; install it only if you need these drivers

Sometimes, a specific variant of the linux-image is slimmed down by removing the less common kernel modules (drivers). In this case, the linux-image-extra package simply contains all of the "extra" kernel modules which were left out.

  • Officially, this only happens for the -virtual image; the most common hypervisors (Virtualbox, VMWare, Xen, KVM) emulate a well-defined and restricted set of hardware, so removing unnecessary drivers which increase the size of the kernel/initrd is a good idea. You can always get them back by installing the extras package.

  • The kernel team also appears to have adopted this method for some of the mainline-PPA -generic kernels; the reasoning and solution remain the same -- if it looks like the base kernel image is missing a module you need, install extras.

  • As far as I know, the above approach has not been taken for the Quantal kernels -- only -virtual is affected as usual.

share|improve this answer
    
Thank you very much for the explanation. –  Nikki Kononov Jun 19 '12 at 12:48
    
Note that I recommend simply using the latest Quantal kernel instead of the latest "mainline" kernel--on Precise--simply because the former is usually slightly more hardware-compatible. –  izx Jun 19 '12 at 12:52
1  
That's what I always do :) –  Nikki Kononov Jun 19 '12 at 12:56

In Ubuntu Trusty 14.04, it appears the USB-HID (keyboard) support is included only in -extras...

Result: stuck keyboard / non-functioning TTY on bootup without this package!

share|improve this answer

Your Answer

 
discard

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.