On 08/16/2018 03:00 PM, Stephen John Smoogen wrote:
On Thu, 16 Aug 2018 at 14:44, Robert Moskowitz rgm@htt-consult.com wrote:
I just installed the new kernel on one of my Cubieboard2s. /boot used grew ~130MB.
Challenge is that my next board to update only has 43MB free. It currently has 3 kernels on it.
Is there a way to cleanly delete old kernel files prior to the update? In this case 4.9.30-203?
Are you meaning something like this?
[smooge@smoogen-laptop ~]$ rpm -q kernel kernel-3.10.0-693.21.1.el7.x86_64 kernel-3.10.0-862.el7.x86_64 kernel-3.10.0-862.2.3.el7.x86_64 kernel-3.10.0-862.3.2.el7.x86_64 kernel-3.10.0-891.el7.x86_64 [smooge@smoogen-laptop ~]$ uname -a # to see what you have running Linux smoogen-laptop.localdomain 3.10.0-891.el7.x86_64 #1 SMP Mon May 21 14:10:11 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux $ sudo rpm -e kernel-3.10.0-693.21.1.el7.x86_64 kernel-3.10.0-862.el7.x86_64 kernel-3.10.0-862.2.3.el7.x86_64
rpm -e kernel-4.9.30-203.el7.armv7hl
Did nothing. Just came back to the # prompt. And no reduction in space used in /boot and no change in 'ls /boot'. Or at least what I noticed.
> thanks > > > _______________________________________________ > Arm-dev mailing list > Arm-dev@centos.org > https://lists.centos.org/mailman/listinfo/arm-dev