On 4 Jun 2024, at 11:35, Patrick Dupre via users <users@lists.fedoraproject.org> wrote:

but in the generated file (grub.cfg) there is no reference to Fedora 40
or sdc3

Fedora use BLS (boot loader specifcations) that are in /boot/loader/entries.
grub, by default, scans that folder and adds all the entries to the menu.

For example here is a example from one of my f40 systems:

/boot/loader/entries/23861aed63d748da85011d84ee28e601-6.8.10-300.fc40.x86_64.conf
/boot/loader/entries/23861aed63d748da85011d84ee28e601-6.9.2-200.fc40.x86_64.conf
/boot/loader/entries/23861aed63d748da85011d84ee28e601-0-rescue.conf
/boot/loader/entries/23861aed63d748da85011d84ee28e601-6.8.9-300.fc40.x86_64.conf

Barry