On 30/6/24 13:23, Samuel Sieb wrote:
Thanks Samuel, yes, the initramfs is huge at 651MB each. At the time I was getting the space issue I misread the size of these files and thought they were smaller that the rescue file.On 6/29/24 6:36 PM, Stephen Morris wrote:Hi,My /boot partition is 512MB, which in F39 was more than ample for 5 kernels and a rescue image, but in F40 that partition is now to small for a new rescue image to be created when a new kernel is installed. The rescue image in F40 seems to be around 102MB in size which is more that double the size of any kernel, I don't know what size it was in F39.That is normal. It contains all the kernel modules, so it is much bigger. And it's the initramfs, not kernel. The kernel is the same size.
I did delete the old rescue kernel which was 102MB in size, with the rebuilt rescue kernel being around only 15MB in size.I've tried dropping the number of kernels retained to 4, but that still produces out of space conditions on new kernel installs with the rescue image.Is F40 now rebuilding the rescue image where F39 didn't?The rescue kernel is always rebuilt if you delete the old one. There's a setting somewhere to stop that.
My initramfs for the 6.9.6 kernel is slightly bigger than the one for kernel 6.9.4, and both of them are smaller than the ones for kernels 6.8.11 and 6.8.10. I don't know what the size of the F39 one was.If I drop back to retaining only 3 kernels will that provide enough free space, currently /boot is using 360.2MB with 88MB free of the 512MB partition?My /boot is about 350MB with 3 kernels and the rescue.Is F40 really that much bigger the F39 that the /boot partition size, which I have always used across multiple Fedora versions, is no longer big enough to handle what F40 does relative to kernels?My latest F40 initramfs is actually smaller than the previous one and the F39 one.
I potentially don't need more than 3, I was just trying to keep a bigger safety net for non-booting kernels. I have been in the situation where the latest two kernels of the installed 3 wouldn't boot.I have my /boot partition on an SSD. I could run gparted to resize the boot partition by resizing the Windows drive C partition which is on the disk before it (a 512MB /boot partition for Ubuntu is immediately after the Fedora partition), but I don't really want to change the size of the Windows partition?512MB is enough for the default 3 kernels. Why do you need more than that?
regards, Steve
Attachment:
OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue