Hey guys,
Was doing an update and received the error:
(30/80) Installing: kernel-desktop-3.11.10-21.1 …[error]
Installation of kernel-desktop-3.11.10-21.1 failed:
Error: Subprocess failed. Error: RPM failed: installing package kernel-desktop-3.11.10-21.1.x86_64 needs 17MB on the /boot filesystem
I aborted, and then df -h
Found /boot is at 100%
What can I remove without messing up my installation?
Thanks
An older kernel.
Go into Yast Software Management.
Search for Kernel.
Click the “Versions” tab.
Find the oldest installed kernel (it is probably either “kernel-desktop” or “kernel-default”).
Remove the oldest, but keep the one you are current running. The command
uname -a
will tell you what you are currently running.
To remove, just click that entry on the versions tab, until it changes to delete (a red X).
On 2014-08-16 23:16, Ninja1980 wrote:
> Found /boot is at 100%
How big is it?
how many kernels do you have installed?
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
multidistro, woops mulitversion kernel in the works?
I had the same issue, I believe because I always do an Upgrade to the new version of opensuse and never a “delete - fresh install” when a new version becomes available. I used GPARTED to rearrange my partitions, i.e. made \boot much bigger than it was after the first installation of opensuse 12.1. Works fin for me.
regards, erich
Fedora distribution keeps only last three kernels in default setting.
So when new kernel is issued, the fourth oldest is automatically removed.
openSUS keeps 3 by default you can adjust for more or less
Where can I adjust this option?
/etc/zypp/zypp.conf:
## Comma separated list of kernel packages to keep installed in parallel, if the
## above multiversion variable is set. Packages can be specified as
## 2.6.32.12-0.7 - Exact version to keep
## latest - Keep kernel with the highest version number
## latest-N - Keep kernel with the Nth highest version number
## running - Keep the running kernel
## oldest - Keep kernel with the lowest version number (the GA kernel)
## oldest+N - Keep kernel with the Nth lowest version number
##
## Note: This entry is not evaluated by libzypp, but by the
## purge-kernels service (via /sbin/purge-kernels).
##
## Default: Do not delete any kernels if multiversion = provides:multiversion(kernel) is set
multiversion.kernels = latest,latest-1,running
The default is to keep two kernels effectively, as normally running==latest.
You do need to have space for three though, because a third one is going to be installed. One of them is then removed during the next boot one.
And you can disable multiple kernels completely by commenting the “multiversion” option a bit above that.
If your kernels are not removed, make sure that purge-kernels.service is enabled:
systemctl status purge-kernels.service
Or use YaST->System->Services Manager to check that it is enabled and enable it if not.