OK,
This is correct, but is is absolutely confusing !!!
Same name 2 different files !
Are there both generated by grub2-mkconfig -o /boot/grub2/grub.cfg ?
I do not think so, if I check the date of creation.
How is generated /boot/grub2/grub.cfg ?
>
>
> On Wed, Jul 27, 2022, at 5:22 AM, Patrick Dupre wrote:
> > In addition to my previous question.
> > Should I have a grub.cfg in /boot/efi/EFI/fedora ?
>
> There should be two:
>
> /boot/efi/EFI/fedora/grub.cfg
> /boot/grub2/grub.cfg
>
> The first one has a few lines to find and load the 2nd one.
>
> grubx$arch.efi assumes a grub.cfg in the same directory, hence the need for the 1st
one; and this feature made the actual grub.cfg reside in /boot/grub2 regardless of arch or
firmware type.
>
https://fedoraproject.org/wiki/Changes/UnifyGrubConfig
>
> For what it's worth, there's many valid way to do this. Therefore it gets
confusing because you have to evaluate all the tradeoffs of each layout.
>
> --
> Chris Murphy
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
>