Dont delete them do the following
(from brain)
I wouldn't recommend using "rpm -e" to remove it. Yum installed it,
and yum should remove it.
First, get your current Kernel version.
uname -r
That would produce something similar to:
2.6.9-55.0.6.ELsmp
Now, get all Kernels installed.
rpm -qa | grep -i kernel | grep -v utils
On my test system, that showed:
kernel-smp-2.6.9-42.0.8.EL
kernel-2.6.9-42.0.10.EL
kernel-smp-2.6.9-42.0.3.EL
kernel-2.6.9-42.0.8.EL
kernel-smp-2.6.9-42.0.10.EL
kernel-smp-devel-2.6.9-55.0.6.EL
kernel-2.6.9-55.0.6.EL
kernel-2.6.9-42.0.3.EL
kernel-smp-2.6.9-55.0.6.EL
Now, remove ALL accept your current version. Since mine is a "SMP"
kernel, I usually keep the non SMP version around too.
# This is 1 long command.
yum remove kernel-smp-2.6.9-42.0.8.EL kernel-2.6.9-42.0.10.EL
kernel-smp-2.6.9-42.0.3.EL kernel-2.6.9-42.0.8.EL
kernel-smp-2.6.9-42.0.10.EL kernel-2.6.9-42.0.3.EL
I left off the following three:
kernel-2.6.9-55.0.6.EL
kernel-smp-2.6.9-55.0.6.EL
kernel-smp-devel-2.6.9-55.0.6.EL
They are my current kernel versions, and the developement files
(needed for another project).
After that is done, you should see the free space on /boot go down.
Good luck!
Brian
-----Oorspronkelijk bericht-----
Van: Colin Jack [mailto:colin (at mark) mainline.co.uk]
Verzonden: donderdag 22 januari 2009 15:12
Aan: coba-e (at mark) bluequartz.org
Onderwerp: [coba-e:14829] Clearing /boot
Bit of a noob question (sorry) ...
My /boot partition is 90% full and needs clearing down.
Am I able to delete these (apart from the latest):
-rw-r--r-- 1 root root 733742 May 24 2006 System.map-2.6.9-34.0.1.EL
-rw-r--r-- 1 root root 761137 May 24 2006 System.map-2.6.9-34.0.1.ELsmp
-rw-r--r-- 1 root root 733742 Jul 8 2006 System.map-2.6.9-34.0.2.EL
-rw-r--r-- 1 root root 761137 Jul 8 2006 System.map-2.6.9-34.0.2.ELsmp
-rw-r--r-- 1 root root 733742 Mar 8 2006 System.map-2.6.9-34.EL
-rw-r--r-- 1 root root 761137 Mar 8 2006 System.map-2.6.9-34.ELsmp
-rw-r--r-- 1 root root 750652 Feb 27 2007 System.map-2.6.9-42.0.10.EL
-rw-r--r-- 1 root root 767450 Feb 27 2007 System.map-2.6.9-42.0.10.ELsmp
-rw-r--r-- 1 root root 749489 Aug 23 2006 System.map-2.6.9-42.0.2.EL
-rw-r--r-- 1 root root 766287 Aug 23 2006 System.map-2.6.9-42.0.2.ELsmp
-rw-r--r-- 1 root root 749489 Oct 6 2006 System.map-2.6.9-42.0.3.EL
-rw-r--r-- 1 root root 766287 Oct 6 2006 System.map-2.6.9-42.0.3.ELsmp
-rw-r--r-- 1 root root 754505 Jun 26 2007 System.map-2.6.9-55.0.2.EL
-rw-r--r-- 1 root root 771374 Jun 26 2007 System.map-2.6.9-55.0.2.ELsmp
-rw-r--r-- 1 root root 754404 May 2 2007 System.map-2.6.9-55.EL
-rw-r--r-- 1 root root 771273 May 2 2007 System.map-2.6.9-55.ELsmp
-rw-r--r-- 1 root root 760532 May 8 2008 System.map-2.6.9-67.0.15.EL
-rw-r--r-- 1 root root 777506 May 8 2008 System.map-2.6.9-67.0.15.ELsmp
-rw-r--r-- 1 root root 760559 Jul 23 2008 System.map-2.6.9-67.0.22.EL
-rw-r--r-- 1 root root 777533 Jul 23 2008 System.map-2.6.9-67.0.22.ELsmp
-rw-r--r-- 1 root root 760171 Mar 15 2008 System.map-2.6.9-67.0.7.EL
-rw-r--r-- 1 root root 777145 Mar 15 2008 System.map-2.6.9-67.0.7.ELsmp
-rw-r--r-- 1 root root 780162 Jan 14 21:09 System.map-2.6.9-78.0.13.EL
-rw-r--r-- 1 root root 797154 Jan 14 21:19 System.map-2.6.9-78.0.13.ELsmp
-rw-r--r-- 1 root root 1473699 May 24 2006 vmlinuz-2.6.9-34.0.1.EL
-rw-r--r-- 1 root root 1436535 May 24 2006 vmlinuz-2.6.9-34.0.1.ELsmp
-rw-r--r-- 1 root root 1473712 Jul 8 2006 vmlinuz-2.6.9-34.0.2.EL
-rw-r--r-- 1 root root 1436516 Jul 8 2006 vmlinuz-2.6.9-34.0.2.ELsmp
-rw-r--r-- 1 root root 1473787 Mar 8 2006 vmlinuz-2.6.9-34.EL
-rw-r--r-- 1 root root 1436129 Mar 8 2006 vmlinuz-2.6.9-34.ELsmp
-rw-r--r-- 1 root root 1504585 Feb 27 2007 vmlinuz-2.6.9-42.0.10.EL
-rw-r--r-- 1 root root 1444718 Feb 27 2007 vmlinuz-2.6.9-42.0.10.ELsmp
Thanks
Colin
It takes 24 trees to produce 1 ton of office paper!
Think. is it really necessary to print this email?