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?
thanks
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 ```
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
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
On Thu, 16 Aug 2018 at 15:58, Robert Moskowitz rgm@htt-consult.com wrote:
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.
Then you need to use the du command and see what is using up the space. Also check to make sure that the size is the same as the other systems to see why they have different amounts.
El 16/8/18 a las 17:08, Stephen John Smoogen escribió:
On Thu, 16 Aug 2018 at 15:58, Robert Moskowitz rgm@htt-consult.com wrote:
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.
Then you need to use the du command and see what is using up the space. Also check to make sure that the size is the same as the other systems to see why they have different amounts.
kernels for armhfp come in 3 parts (or more), there is kernel, kernel-core and kernel-modules, so you need to remove all those 3 for each kernel in order o actually free space.
rpm -qa "kernel*"|sort kernel-4.14.28-201.el7.centos.armv7hl kernel-4.14.52-201.el7.armv7hl kernel-core-4.14.28-201.el7.centos.armv7hl kernel-core-4.14.52-201.el7.armv7hl kernel-headers-4.14.52-201.el7.armv7hl kernel-modules-4.14.28-201.el7.centos.armv7hl kernel-modules-4.14.52-201.el7.armv7hl kernel-tools-4.14.52-201.el7.armv7hl kernel-tools-libs-4.14.52-201.el7.armv7hl
Pablo.
On 08/16/2018 04:24 PM, Pablo Sebastián Greco wrote:
El 16/8/18 a las 17:08, Stephen John Smoogen escribió:
On Thu, 16 Aug 2018 at 15:58, Robert Moskowitz rgm@htt-consult.com wrote:
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.
Then you need to use the du command and see what is using up the space. Also check to make sure that the size is the same as the other systems to see why they have different amounts.
kernels for armhfp come in 3 parts (or more), there is kernel, kernel-core and kernel-modules, so you need to remove all those 3 for each kernel in order o actually free space.
rpm -qa "kernel*"|sort kernel-4.14.28-201.el7.centos.armv7hl kernel-4.14.52-201.el7.armv7hl kernel-core-4.14.28-201.el7.centos.armv7hl kernel-core-4.14.52-201.el7.armv7hl kernel-headers-4.14.52-201.el7.armv7hl kernel-modules-4.14.28-201.el7.centos.armv7hl kernel-modules-4.14.52-201.el7.armv7hl kernel-tools-4.14.52-201.el7.armv7hl kernel-tools-libs-4.14.52-201.el7.armv7hl
Thanks that did it. You have to -e modules before core
I have to ask - what is the purpose of separating kernel, kernel-core and kernel-modules into separate packages?
On Thu, Aug 16, 2018 at 9:24 PM, Pablo Sebastián Greco < pablo@fliagreco.com.ar> wrote:
El 16/8/18 a las 17:08, Stephen John Smoogen escribió:
On Thu, 16 Aug 2018 at 15:58, Robert Moskowitz rgm@htt-consult.com wrote:
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.
Then you need to use the du command and see what is using up the
space. Also check to make sure that the size is the same as the other systems to see why they have different amounts.
kernels for armhfp come in 3 parts (or more), there is kernel,
kernel-core and kernel-modules, so you need to remove all those 3 for each kernel in order o actually free space.
rpm -qa "kernel*"|sort kernel-4.14.28-201.el7.centos.armv7hl kernel-4.14.52-201.el7.armv7hl kernel-core-4.14.28-201.el7.centos.armv7hl kernel-core-4.14.52-201.el7.armv7hl kernel-headers-4.14.52-201.el7.armv7hl kernel-modules-4.14.28-201.el7.centos.armv7hl kernel-modules-4.14.52-201.el7.armv7hl kernel-tools-4.14.52-201.el7.armv7hl kernel-tools-libs-4.14.52-201.el7.armv7hl
Pablo. _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/18/2018 05:05 AM, Gordan Bobic wrote:
I have to ask - what is the purpose of separating kernel, kernel-core and kernel-modules into separate packages?
Ask Fedora .. we just build what Fedora / RHEL puts out wrt to CentOS and kernel SPECS.
That is how the new Fedora Kernels are released.
Those devs are really smart, so I'm sure they have a good reason :)
<snip>
Thanks, Johnny Hughes
I always change installonly_limit in /etc/yum.conf from the default 5 to 2, so you only keep the current and the new one.
El 16/8/18 a las 15:44, Robert Moskowitz escribió:
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?
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev