Not sure where I found this, and I have this in my efi/grub file,
but you can chain the EFI grub.cfg to the one you're generating (just make
sure to change the uuid for the disk)
```
#/boot/efi/EFI/fedora/grub.cfg
search --no-floppy --fs-uuid --set=dev 38b0586f-2715-4493-a548-e12902f1b68d
set pref
On 02/03/2023 17:35, Aharon Schkolnik
wrote:
I would think that on a efi system, the file in /etc should
be linked to the file in /boot/efi
Sound like a bug?
No.
So, it turns out that I have two directories (each on their own mount
point):
/boot
/boot/efi
The attached grub.cfg was from /boot/efi -missing the windows entry
The correct grub.cfg was in /boot - including the missing windows entry
That makes sense since I ran grub2-mkconfig -o /etc/grub2-efi.c