Guidance on Cleaning Boot Partition
Hello!
My /boot partition is at 83% full and I've googled all the boot threads but I'm not 100% sure on how to tell which kernel packages are safe to remove. Hoping someone could help.
From reading other help threads, this is what I've understood so far, please correct me if I'm wrong :)
First I need to do the below command to find the kernel I'm using
#uname -a
Output
then to list installed kernel packages # rpm -q kernel kernel-smp Output:
So from the above info does it mean it is safe to remove the following kernel packages?
Command to remove packages is
Is this correct? I read from another thread that I should have at least two kernel packages installed so I should only remove one from above? What is "package kernel-smp is not installed"? Thanks!
Linux s1.****.com 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
then to list installed kernel packages # rpm -q kernel kernel-smp Output:
kernel-2.6.32-358.el6.x86_64
kernel-2.6.32-358.6.2.el6.x86_64
kernel-2.6.32-358.11.1.el6.x86_64
package kernel-smp is not installed
So from the above info does it mean it is safe to remove the following kernel packages?
kernel-2.6.32-358.el6.x86_64
kernel-2.6.32-358.6.2.el6.x86_64
Command to remove packages is
yum remove kernel-x.xxx.exx.xxIs this correct? I read from another thread that I should have at least two kernel packages installed so I should only remove one from above? What is "package kernel-smp is not installed"? Thanks!
-
You can safely remove the RPMs for any package that corresponds with a kernel that you are not currently booted or ksplice'd to. 0 -
It is safe to remove the old kernel related files from the /boot partition to another location in order to make some free space. 0 -
[quote="vipoint, post: 1592832">It is safe to remove the old kernel related files from the /boot partition to another location in order to make some free space.
Moving them to another partition is no different than removing them (except you have them for backup purposes). Thus, the same answer applies. See this post: Clean Boot Partition Thank you.0
Please sign in to leave a comment.
Comments
3 comments