1

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
linux-image-generic-lts-saucy 3.11.0.20.18
Generic Linux kernel image

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

2 Answers 2

1

You can know what version you are using :

uname -r

To remove old kernels just follow this answer :

How to remove old kernels

6
  • 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!
    – Nijboer IT
    May 2, 2014 at 8:51
  • you can follow that answer and remove the old kernel
    – nux
    May 2, 2014 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?
    – Nijboer IT
    May 2, 2014 at 8:55
  • older than 3.2.0-54
    – nux
    May 2, 2014 at 8:58
  • i've updated the question. with feedback
    – Nijboer IT
    May 2, 2014 at 9:08
1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .