Re: new F41 install: is swap partition no longer needed for hibernate?

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

 



On Dec 9, 2024, at 06:07, Ranjan Maitra via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> # # for efi-based systems: #
> 
> sudo bash -x grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Ack!  Burn these instructions from your memory, this is the wrong path and can leave your system unable to update kernels!

On any supported release of Fedora, the file you are overwriting with ‘grub2-mkconfig’ should be /boot/grub2/grub.cfg. 

The file in EFI is a smaller file that just discovers /boot and loads the correct grub.cfg from there. 

If you discover you’ve run the above command, you can regenerate the correct file by deleting the file you generated in EFI and running “dnf reinstall grub2-common” to force it to recreate it. 

Many releases ago, it was fine to rewrite that path but not anymore. A lot of dumb AI tools were trained on out of date info and still tell people to use it, much to my consternation. 

-- 
Jonathan Billings
-- 
_______________________________________________
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



[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