Hi there,
I just failed to install kernel-default-5.14.21-150400.24.28.1.x86_64 for LP 15.4 zypper stopped with an (meaningless) rpm error message.
My guess is, /boot is full, though, I still have ca 90 MB on /boot…
Anyone know the space requ. for kernel-default-5.14.21-150400.24.28.1.x86_64?
Thnks!!!
I just did updates, so that kernel is installed here.
The kernel uses around 15M on “/boot” (and it also takes space on “/usr”). That includes several related files (symbols, for example)
The “initrd” here is using 30M.
The “initrd” is built on your system. The installer does not know how big it will be until it is built. So it makes an estimate. And perhaps its estimate is bigger than your “/boot” can accomodate.
If you currently have two kernels, then you can remove the oldest of those before installing the new kernel. That might free up enough extra space. When removing older kernels, you can use Yast Software Management, and click on the “Versions” tab to select the version you want to remove.
My initrd’s usually take ca 45 MBs, I just wiped two of them, now it works.
Next time I set up a system, Iĺl use a much bigger /boot… just have 256 megs, a bit small when using several kernels…
For a while, I used 100M “/boot”, which worked well. But then kernels grew larger and it was a struggle. I’m now using 500M, which is still doing fine.
That’s not the best way to start new question. If you know what is meaningful and what is not, you should not need to ask question in the first place.
I still have ca 90 MB on /boot…
All that rpm knows is file sizes in the package metadata. If you look at them
bor@10:~> rpm -q --qf '%{filenames} -> size=%{filesizes:humaniec} flags=%{fileflags:fflags}
]' kernel-default-5.14.21-150400.24.28.1.x86_64 | grep /boot/
/boot/.vmlinuz-5.14.21-150400.24.28-default.hmac -> size=65 flags=
/boot/System.map-5.14.21-150400.24.28-default -> size=4.8M flags=
/boot/config-5.14.21-150400.24.28-default -> size=245K flags=
/boot/initrd -> size=0 flags=g
/boot/initrd-5.14.21-150400.24.28-default -> size=2.0M flags=g
/boot/initrd-5.14.21-150400.24.28-default-kdump -> size=2.0M flags=g
/boot/symvers-5.14.21-150400.24.28-default.gz -> size=445K flags=
/boot/sysctl.conf-5.14.21-150400.24.28-default -> size=484 flags=
/boot/vmlinux-5.14.21-150400.24.28-default -> size=83M flags=g
/boot/vmlinux-5.14.21-150400.24.28-default.gz -> size=17M flags=
/boot/vmlinuz -> size=0 flags=g
/boot/vmlinuz-5.14.21-150400.24.28-default -> size=11M flags=
bor@10:~>
so according to information in the RPM package the total size of all files in /boot is over 120M. Some files are “ghost” files (those with flags=g) which are not physically present in the package and are not actually installed, still rpm attempts to ensure that there is enough space to create these files.
If you think this file list is wrong, you need to open bug report and present valid arguments why it has to be changed.