kernels

Colin Law clanlaw at googlemail.com
Fri Apr 29 08:59:04 UTC 2011


On 28 April 2011 21:31, NoOp <glgxg at sbcglobal.net> wrote:
> ...
> That is my preferred method. I typically keep at least the previous
> kernel (I've not cleaned this machine in awhile).
> ...
> But I open a terminal and use 'ls /boot' to find what I need, then open
> Synaptic & copy and paste to the Synaptic search. So for example:
>
> $ ls /boot
> abi-2.6.35-26-generic         memtest86+.bin
> abi-2.6.35-27-generic         memtest86+_multiboot.bin
> abi-2.6.35-28-generic         System.map-2.6.35-26-generic
> abi-2.6.35-29-generic         System.map-2.6.35-27-generic
> config-2.6.35-26-generic      System.map-2.6.35-28-generic
> config-2.6.35-27-generic      System.map-2.6.35-29-generic
> config-2.6.35-28-generic      vmcoreinfo-2.6.35-26-generic
> config-2.6.35-29-generic      vmcoreinfo-2.6.35-27-generic
> grub                          vmcoreinfo-2.6.35-28-generic
> grub.old                      vmcoreinfo-2.6.35-29-generic
> initrd.img-2.6.35-26-generic  vmlinuz-2.6.35-26-generic
> initrd.img-2.6.35-27-generic  vmlinuz-2.6.35-27-generic
> initrd.img-2.6.35-28-generic  vmlinuz-2.6.35-28-generic
> initrd.img-2.6.35-29-generic  vmlinuz-2.6.35-29-generic
>
> And I want to clean out 2.6.35-26 - I copy '2.6.35-26' from the
> terminal, then open Synaptic and paste that into the search box. I then
> click the 'S' column to put all the installed versions to the top,
> select them all and right-click & 'Mark for complete removal'. Click apply.

On one of my 10.10 systems ls /boot shows
abi-2.6.27-11-generic         memtest86+_multiboot.bin
abi-2.6.28-17-generic         System.map-2.6.27-11-generic
abi-2.6.31-17-generic         System.map-2.6.28-17-generic
abi-2.6.31-19-generic         System.map-2.6.31-17-generic
abi-2.6.31-20-generic         System.map-2.6.31-19-generic
abi-2.6.31-21-generic         System.map-2.6.31-20-generic
abi-2.6.31-22-generic         System.map-2.6.31-21-generic
abi-2.6.35-22-generic         System.map-2.6.31-22-generic
abi-2.6.35-25-generic         System.map-2.6.35-22-generic
etc.

But in Synaptic it only shows 2.6.35-22 and 2.6.35-25 installed.  Why
might the others be there (left over from previous Ubuntu versions
possibly?) and what should I do about them?  Just delete the files?

Colin




More information about the ubuntu-users mailing list