For quite some time I have had the issues dual booting that /boot/efi partition being only 100 MB filled up pretty quickly dual booting between Windows and keeping 2 or 3 kernels, so I decided to face the challenge of enlarging /boot/efi partition, I did it pretty much following this guide: https://superuser.com/questions/1230741/how-to-resize-the-efi-system-partition, which at the beginning I tried to use the gparted method, which failed as it did to most, then I used the space that was already freed and put in the ESP (but not allocated) to format the new partition, after that I changed the uuid and ran grub2-mkconfig with chroot from gparted live USB and upon rebooting everything went well and fedora opened.
The reason I did that is also because one time I accidentally turned off my pc during a windows update thinking stupidly it was over, after that bootmgrw.efi in /boot/efi/EFI/Microsoft disappeared and through a USB with win11 I managed to restore it through bcdboot, it went well and I could get back in windows fully functioning, but when I tried to re do the download something went wrong again and I remembered that prior to that in fedora the /boot/efi partition was full with 0 bytes remaining, so I thought that this probably would be the issue.
I did the bcdboot process again and for some time I went without updating win11, every time I did the bcdboot process after getting back to fedora and generating grub2-mkconfig file it all went smooth and the boot menu appeared after the generation.
This time though after enlarging ESP and restoring bootmgwr.efi and changing the uuid in /etc/fstab, first of all when I first ran the mkconfig it looked like just the Windows entry was generated, not giving any other message about linux kernels even though they were present in /boot/loader/entries directory. After setting:
GRUB_ENABLE_BLSCFG=“false”
the mkconfig successfully sees and generates in theory all of the entries, however the boot menu still doesnt appear during boot, the timeout is already set to 20 as it was already before the issues happened as well as timeout_style=menu, I unset auto_hide_menu env variable from grub2-editenv and upon boot pressing shift key doesnt force the menu to appear, pressing the ESC key makes a bunch of terminal-like lines appear with [ OK ] at the end, I dont know what else to do:
/etc/default/grub
GRUB_TIMEOUT=“20”
GRUB_TIMEOUT_STYLE=“menu”
GRUB_DISTRIBUTOR=“$(sed ‘s, release .*$,g’ /etc/system-release)”
GRUB_DEFAULT=“saved”
GRUB_DISABLE_SUBMENU=“true”
GRUB_TERMINAL_OUTPUT=“console”
GRUB_CMDLINE_LINUX=“rhgb quiet”
GRUB_DISABLE_RECOVERY=“true”
GRUB_ENABLE_BLSCFG=“false”
grub2-editenv list
saved_entry=022440c38d0445ea8da041e033f4949b-6.17.6-100.fc41.x86_64
boot_success=1
boot_indeterminate=0