Displaying 12 results from an estimated 12 matches for "oldkernels".
2009 Jan 03
0
Issue with package-cleanup --oldkernels with PAE kernel
...PAE kernel installed, package-cleanup behaves
as follows:
# rpm -q kernel
package kernel is not installed
# rpm -q kernel-PAE
kernel-PAE-2.6.18-92.1.13.el5
kernel-PAE-2.6.18-92.1.18.el5
kernel-PAE-2.6.18-92.1.22.el5
# uname -r
2.6.18-92.1.22.el5PAE
# package-cleanup --oldkernels --count 2
Setting up yum
Error all kernel rpms are set to be removed
Has anyone else seen this? Is this expected behavior or a (known) bug?
Alfred
2019 Jan 08
5
How do I remove a kernel
I have 4 kernels in /boot, leaving on 20MB which is not enough for the
next one.
I had installonly_limit= set at 5, as there were some kernel problems.?
After I got the error that there was not enough room for another kernel,
I set installonly_limit= to 3 and did the update with --exclude=kernel*
That worked to update everything else, but not remove the oldest kernel.
How can I remove the
2018 Feb 07
2
/dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?
Hello CentOS users,
in the recent time I keep getting the logwatch warnings from my 2 dedicated
servers running CentOS 7.4.1708.
I guess because of the numerous kernel updates (because of
Spectre+Meltdown) in the near past?
Could someone please suggest me, which files in my /boot partition would be
safe to delete?
I would like to avoid the situation of having to boot the rescue partiton
etc.
2018 Feb 07
0
/dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?
..., some people have '2' - don't put
it at '1' because then you'll not be able to use an old version to boot
in to in emergency.
The package yum-utils has the package-cleanup command to deal with
various yum issues, including sorting out old kernels. Do
package-cleanup --oldkernels --count=3
to clean everything to do with old kernels leaving 3 versions on your
system.
P.
2019 Jan 08
0
How do I remove a kernel
...nother kernel,
> I set installonly_limit= to 3 and did the update with --exclude=kernel*
>
> That worked to update everything else, but not remove the oldest kernel.
>
> How can I remove the oldest kernel to make room for the new one?
>
yum install yum-utils
package-cleanup --oldkernels --count=3
replace the count with however many you want to leave on the system.
P.
2005 Nov 09
3
Eliminate old kernels
Hi.
Is there any commad for eliminate old kernels from grub instead of edit
manually grub.conf and eliminate the files from /boot?
Iago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20051109/36a7fafa/attachment.html>
2008 Apr 24
0
package-cleanup fails when cleaning kernels in CentOS 5
Hija!
I get this error while doing the cleanup, hints?
Cheers,
JJ
-----------------------------------------------------------
[root at neonbox ~]# package-cleanup --oldkernels --count 2
Setting up yum
Loading "priorities" plugin
Loading "kernel-module" plugin
Loading "protectbase" plugin
Loading "kmdl" plugin
Loading "skip-broken" plugin
Loading "installonlyn" plugin
0 packages excluded due to repository priorit...
2008 Jan 13
4
LIMITING NUMBER OF KERNEL VERSIONS RETAINED
Hi
Some time ago there was a discussion on the above subject. I have
scanned the past few month's mailing list archives and cannot find the
relevant mail(s).
Could somebody please repost the solution or point me at the correct
resource.
I would also appreciate advice on how to do this on a RHEL4 server being
updated with up2date.
Is it safe just to delete the old kernel and initrd
2007 Oct 12
4
Safe method to remove old kernels
# rpm -qa | grep kernel-2 | sort
kernel-2.6.9-42.0.10.EL
kernel-2.6.9-42.0.2.EL
kernel-2.6.9-42.0.3.EL
kernel-2.6.9-42.0.8.EL
kernel-2.6.9-42.EL
kernel-2.6.9-55.0.2.EL
kernel-2.6.9-55.0.6.EL
kernel-2.6.9-55.0.9.EL
kernel-2.6.9-55.EL
I'm running the most recent kernel available, and I've never had a
problem with any past kernels, so I don't believe there's any reason
to keep all of
2016 Sep 03
4
hacking grub to control number of retained kernels.
I've recently had this problem on two C7 systems, wherein when doing "yum
update", I get a warning about /boot being low on space.
both systems were installed using the partition size recommended by
Anaconda, right now "df -h" shows /boot as 494M, with 79M free.
I don't store unrelated crap on /boot, I assume that yum and/or grub
will manage it for me. So, why, after
2009 Jun 03
5
Removing old kernels
I have the following kernels on my /boot:
2.6.18-128.1.6
2.6.18-92.1.18
2.6.18-92.1.22
I'm low on /boot space and need to remove the oldest version. It
appears that I cannot use yum to remove since all of the versions are
the same (only the release is different). I believe that I can use rpm
to remove the old version, but I also need to remove them from the
grub.conf. Any other
2017 Oct 10
14
/boot partition too small
First off - let me say I am not an administrator.?? I need to know?if there is an easy way to increase my /boot partition.? When I installed CentOS 6 after running 5, it was my oversight not to increase the /boot size.? it's too small and I can't do yum updates.
if it's not easy to actually increase it, is it safe to take a chunk in my root filesystem (like /new.boot or something) and