Re: boot/efi partition FULL.

Robert McBroom via test <[email protected]> Mon, 2 Mar 2026 11:03:14 -0500
Newsgroups gmane.linux.redhat.fedora.testers
Message-ID <[email protected]>
On 3/2/26 10:28 AM, George R Goffe wrote:
> Robert,
>
> Thanks for responding.
>
> A temporary solution... from the web.
>
> dnf remove $(dnf repoquery --installonly --latest-limit=-1 kernel'*' | grep -v 60210g72c395024dac)
>
> The last string represents the "current" kernel which DNF would otherwise want to remove as well...
>
> I also removed data from several manually built kernels.
>
> The problem seems to have uncovered one or more possible "bugs".
>
> 1) After several weeks of "dnf up" saying that kernels were installed WHEN THE WERE NOT... (they were all absent from the grub2 menu). There was NO indication that any of the upgrades had failed. /boot/efi had gone 100% full.. and I missed this.
>
> 2) After cleanup from above, the /boot/efi partition (2GB) went down to 36% utilization... YAY! BUT... there are still a kernel who claims to be installed, but there is NO grub2 menu entry for it... So... Something else is still "broken"?
>
> rpm -q kernel
> kernel-6.20.0-0.rc0.260210g72c395024dac.1.fc45.x86_64
> kernel-7.0.0-0.rc1.260226gf4d0ec0aa20d4.17.fc45.x86_64
>
> says that the 7.0 kernel is installed, but it STILL does not appear in the grub2 menu.
>
> Any thoughts?
>
> Best regards,
>
> George...

There are some missing dependencies for dracut which cause the initramfs 
build to fail. /usr/lib64 dynamic links

libcbor.so.0.12-->libcbor.so.0.12.0

libfuse3.so.3   -->libfuse3.so.3.16.2

libnsl.so.2       -->libnsl.so.3.0.0

the old entries from an earlier version of fedora can be used if available.

workaround create a custom.cfg file in /boot/grub2 using the stanzas 
from your grub.cfg and put the kernels you want to see in it.

Sample----

#!/usr/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
     menuentry 'Fedora Linux 42 (Server Edition) (on /dev/sda4)' --class 
gnu-linux --class gnu --class os $menuentry_id_option 
'osprober-gnulinux-/vmlinuz-6.13.7-200.fc41.x86_64--3a290f5c-9d01-4973-85c7-a51743da0f09' 
{
         insmod part_gpt
         insmod ext4
         set root='hd0,gpt3'
         if [ x$feature_platform_search_hint = xy ]; then
           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
61ee38e0-19db-4122-b49c-23784abe1479
         else
           search --no-floppy --fs-uuid --set=root 
61ee38e0-19db-4122-b49c-23784abe1479
         fi
         linux /vmlinuz root=/dev/sda4 ro rd.driver.blacklist=nouveau 
modprobe.blacklist=nouveau nvidia-drm.modeset=1 5
         initrd /initramfs
     }

-- 
_______________________________________________
test mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new