Index: [Article Count Order] [Thread]

Date:  Thu, 22 Jan 2009 15:28:36 +0100
From:  "Steffan" <snoord (at mark) planet.nl>
Subject:  [coba-e:14830] Re: Clearing /boot
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <D093AC0D7B5842CCAD4C48ABDE166C0F@TikKlikPC11>
In-Reply-To:  <45DACA7BE1DEA245AF6C95E5B94E531B0701699E79 (at mark) datastore.mainline.local>
References:  <45DACA7BE1DEA245AF6C95E5B94E531B0701699E79 (at mark) datastore.mainline.local>
X-Mail-Count: 14830

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?