On 1/8/19 5:30 PM, mark wrote: > Robert Moskowitz wrote: >> 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 oldest kernel to make room for the new one? > yum remove kernel-rest-of-kernel-name, for example > yum remove kernel-3.10.0-862.2.3.el7.x86_64 # yum remove kernel-4.14.28-201.el7.centos.armv7hl Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package kernel.armv7hl 0:4.14.28-201.el7.centos will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: kernel armv7hl 4.14.28-201.el7.centos @instKern/$releasever 0.0 Transaction Summary ================================================================================ Remove 1 Package Installed size: 0 Is this ok [y/N]: Only freed up 12MB. All the other kernel components are still there: How do I get rid of the whole lot? thanks