Re: GRUB2 defaults to rescue after dnf update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 5 Apr 2020 20:57:48 -0500
Richard Shaw <hobbes1069@xxxxxxxxx> wrote:

> Well I figured out PART of it... I'm not sure when it changed but the
> individual boot load entries are no longer generated and inserted into
> grub.cfg during grub2-mkconfig, but are individual files now in
> /boot/loader/entries.

I think this was introduced in F30, and it became the default in F31.
Called snippets.  It is no longer necessary to update the grub.cfg file
with snippets enabled, though it is OK to do so.

> 
> And even though I only have 3 kernels installed (all 5.5.x series)
> there were left over files (vmlinuz, System.map, initramfs, & config)
> for older kernels so something wasn't cleaning them up correctly on
> update.

Assuming you are using efi, and if you go into /boot/efi/EFI/fedora
and run the command 
grub2-mkconfig -o grub.cfg
that should fix your issue with kernels in the menu.  Not sure what is
causing the lack of cleanup, as everything updates correctly here on
F31.  Maybe check /etc/default/grub to ensure options are set the way
you want?  Perhaps you caught the migration from the old grub2
technique to the snippets technique, and there was cruft left over.
Did you save more kernels in the past, /etc/dnf/dnf.conf?
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux