In my case
 
-rw-r--r--. 1 root root 160 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-0-memtest86+.conf
-rwxr-xr-x. 1 root root 417 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-0-rescue.conf
-rw-r--r--. 1 root root 362 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-6.8.7-100.fc38.x86_64.conf
-rw-r--r--. 1 root root 362 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-6.8.8-100.fc38.x86_64.conf
-rw-r--r--. 1 root root 362 Jun  4 12:26 11b839ed895a4a55a8ef89bc2dcec102-6.8.9-100.fc38.x86_64.conf
 
 
As anticipate no Fedora 40 while grub2-mkconfig
says
Found Fedora Linux 40 (Forty) on /dev/sdc3
 
What generates the files in
/boot/loader/entries/
?
 
 
 
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