my server running Ubuntu 12.04.4 LTS has two kernel images in /boot at the moment 3.11.0-19 and 3.2.0-60
And every time i do a dist-upgrade the both get updated.
Is this necessary or how can i remove the "oldest" one?

as Nux said i've removed older kernels. now it shows:

dpkg --list | grep linux-image
linux-image-3.11.0-20-generic 3.11.0-20.34~precise1
Linux kernel image for version 3.11.0 on 64 bit x86 SMP
linux-image-3.2.0-54-generic 3.2.0-54.82
Linux kernel image for version 3.2.0 on 64 bit x86 SMP
Generic Linux kernel image

and uname -r still says 3.2.0-54 why not 3.11.0-20 ?


You can know what version you are using :

uname -r

To remove old kernels just follow this answer :

How to remove old kernels

  • it's not old kernels as in grub boot loader. it's just 2 separate kernels. not sequential. uname -r gives 3.2.0-54 which makes it even stranger to me! – TD_Nijboer May 2 '14 at 8:51
  • you can follow that answer and remove the old kernel – nux May 2 '14 at 8:54
  • which should i remove than? everything older than 3.2.0-54? or older than 3.2.0-60 or older than 3.11.0-19? – TD_Nijboer May 2 '14 at 8:55
  • older than 3.2.0-54 – nux May 2 '14 at 8:58
  • i've updated the question. with feedback – TD_Nijboer May 2 '14 at 9:08

It is good practice to keep at least one working ("old") kernel in /boot. Otherwise, if a new kernel displays issues (which might even be Linux not booting at all), the repair procedure gets unnecessarily complicated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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