Grub menu not showing any options to boot

My Grub menu doesn’t show any options to boot (this include booting with different kernel version and rescue mode). But it directly boots in to Fedora OS.

I had this issue, however I also had a need to have a fresh installation, so I freshly installed fedora again but still this problem persist.

I checked few solutions online, one of them is
grub2-mkconfig -o /boot/grub2/grub.cfg

But this also doesn’t fix the problem. This is the output shown when that command was executed.

Generating grub configuration file ...
Adding boot menu entry for UEFI Firmware Settings ...

I will attach the screenshot of my /boot directory.

But however it show “Welcome to GRUB!” message when booting up, but there are no options to select from.

Please help me on how to resolve this issue!

This problem magically solved now, after 3 hours of baffling. Thanks for anyone who looked into the issue.

Any idea on why this issue occured in the first place?

When you install Fedora linux, by default it hides the grub menu. You have to un hide it that it apeares every time.

But if you press ESC or Shift while booting it shows up and you can select the kernel.