Thanks for the tips guys. I had six unneeded kernels sitting around and cleaned them up with:
Code:
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-33-server
Found initrd image: /boot/initrd.img-2.6.32-33-server
Found linux image: /boot/vmlinuz-2.6.32-32-server
Found initrd image: /boot/initrd.img-2.6.32-32-server
Found linux image: /boot/vmlinuz-2.6.32-31-server
Found initrd image: /boot/initrd.img-2.6.32-31-server
Found linux image: /boot/vmlinuz-2.6.32-30-server
Found initrd image: /boot/initrd.img-2.6.32-30-server
Found linux image: /boot/vmlinuz-2.6.32-29-server
Found initrd image: /boot/initrd.img-2.6.32-29-server
Found linux image: /boot/vmlinuz-2.6.32-28-server
Found initrd image: /boot/initrd.img-2.6.32-28-server
Found linux image: /boot/vmlinuz-2.6.32-24-server
Found initrd image: /boot/initrd.img-2.6.32-24-server
Found memtest86+ image: /boot/memtest86+.bin
done
Although this step was unnecessary, it was good to see what was currently installed.
Then identify the current version:
Code:
$ uname -a
Linux ubuntu-fog2 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux
Note the current version:
2.6.32-33
Code:
ls -aFl
-rw-r--r-- 1 root root 8507004 2011-01-31 11:38 initrd.img-2.6.32-24-server
-rw-r--r-- 1 root root 8509929 2011-03-01 06:47 initrd.img-2.6.32-28-server
-rw-r--r-- 1 root root 8510166 2011-03-02 06:32 initrd.img-2.6.32-29-server
-rw-r--r-- 1 root root 8509649 2011-03-18 06:56 initrd.img-2.6.32-30-server
-rw-r--r-- 1 root root 8507911 2011-04-29 16:52 initrd.img-2.6.32-31-server
-rw-r--r-- 1 root root 8506423 2011-05-30 06:44 initrd.img-2.6.32-32-server
-rw-r--r-- 1 root root 8540373 2011-08-22 16:12 initrd.img-2.6.32-33-server
...
Note versions range between 32-24 and 32-32
plus there was an entry for each for:
abi
config
initrd.img
System.map
vmcoreinfo
and vmlinuz
To delete all kernels and associated code I issued the following commands (type carefully!):
Code:
$ sudo rm *2.6.32-2*
$ sudo rm *2.6.32-3[0,1,2]*
Then cleaned up grub:
Code:
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-33-server
Found initrd image: /boot/initrd.img-2.6.32-33-server
Found memtest86+ image: /boot/memtest86+.bin
done
$