Fedora not booting, stuck at grub

Hello everyone,

Note: using encrypted btrfs root partition done during installation from anaconda installer, using nvidia card, uefi system.

I recently ran into trouble with fedora linux on my laptop (nvidia) after following this guide:

https:/asus-linux.org/wiki/fedora-guide/

This basically installed a custom asus kernel and a rpm package to control keyboard lights. My system quickly became very unstable and I removed the rpm package by dnf erase command and did same for the custom kernel.

I was able to boot into the older kernel.
I later messed up my grub file while reverting the changes that I made while following the above guide.
I realised that when I got errors while updating grub after editing it.
My system became unbootable.

So I successfully chrooted with a live usb and reconfigured the grub properly as per the guide.

https://asamalik.fedorapeople.org/tmp-docs-preview/quick-docs/bootloading-with-grub2/

Inside the chroot grub was reconfigured and updated without any errors using these 2 commands

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

sudo grub2-mkconfig -o /etc/grub2.cfg

So far so good , everything went smooth, with grub now corrected, I expected to reboot properly, but I now got into grub command line (without rescue)
This was predicted in the above guide at the end of it.

I have no idea how to boot from encrypted btrfs partition from grub.
Please help me.

I did ls in the grub output:

(proc) β†’ don’t know what it is. Contains luks_script

(hd0) β†’ nvme SSD disk where fedora is installed

(hd0,gpt1) β†’ fat boot partition efi grub folders inside it

(hd0,gpt2) β†’ has vmlinuz and intramfs for various kernel versions.

(hd0, gpt3) β†’ encrypted btrfs partition

How do I boot fedora from grub command line, I have a btrfs encrypted root partition and uefi system and nvidia card. A permanent solution would be great but a temporary one will be helpful too. Let me know if any further details are needed

Thank you.

This thread is also active on reddit

Screenshot of disk and partition

1 Like

Please help me if possible.

I just ran a fresh install of Fedora 34 with the Workstation iso + UEFI + btrfs + luks.

You’ll probably be able to see what config you’ll need specific to your system using cat in the grub shell and some tab complete.

ls (hd0,gpt2)/loader/entries/
cat (hd0,gpt2)/loader/entries/ (tab complete here to pick one of your configs)

In there will be your root=UUID=, rootflags=subvol= and rd.luks.uuid= options which would/could be unique to your system.

Here’s the grub boot commands for mine and you can adapt them to your system.

load_video
set gfxpayload=keep
insmod gzio
linux (hd0,gpt2)/vmlinuz-5... root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro rootflags=subvol=root rd.luks.uuid=luks-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy quiet
initrd (hd0,gpt2)/initramfs-5...

For those …, use tab complete to finish the filenames for the kernel version you want to use. I’d pick the newest one you know works.

If you can’t find the rd.luks.uuid (or just don’t want to type it), it might be saved in the initramfs image’s /etc/crypttab so it will figure it out anyways though not with the rescue initramfs.

2 Likes

It works,
I followed the instructions step-by-step and was able to login and use my desktop. I clicked on the shut down button, the screen went black. With a blinking underscore, I waited but nothing was happening. So I forcefully powered my laptop off. Rebooting it again landed me back to the grub command line.
Do I need to do this everytime I login or was the fix supposed to be permanent?

After initrd the last command I typed boot.
Also I am unable to see fedora splash screen for entering password, instead I see it in the generic way without any splash screen with the fedora logo.

Update: I again tried it, I followed the instructions and logged in to my desktop. This time I reinstalled the kernel and nvidia drivers using dnf reinstall. Then I powered my laptop off. This time it took 3-4 minutes for it to power off properly(2 minutes timeout for user session manager).

But again on powering on, still back at grub

Tldr:
Your method works but it’s not permanent, it has to be followed every time I power on my laptop, this is inconvenient. Can you suggest me a way to make these changes permanent? Do I need to modify grub file in /etc/default/grub and make any changes?? Please let me know.

So this was just a temporary fix as you’ve discovered. I suspect you’ll need to reinstall grub2 again with the efi step from your link:

dnf reinstall grub2-efi grub2-efi-modules shim

I haven’t done this myself yet.
As for the splash screen, that’s because I omitted rhgb from the end of the linux line. As long as it’s in your /etc/defaults/grub, it will end up in your config once fixed so you’ll have the normal graphics luks prompt.

I’ll give this all a try in my VM to see how it goes.

Please do let me know. I will try this tomorrow. Thanks a lot. Learned quite a lot of stuff today.

Here’s what I see:

I think you’ll only need to do the grub2-efi reinstalls and to test that, here’s what I did:

Break grub’s config (to try to replicate your problem), reinstall, see the grub config is back:

[root@fedora boot]# mv /boot/grub2/grub.cfg{,-breakingit}
[root@fedora boot]# ls -al /boot/grub2/grub*cfg*
-rw-r--r--. 1 root root 6358 Sep 14 08:55 /boot/grub2/grub.cfg-breakingit
[root@fedora boot]# dnf reinstall grub2-efi grub2-efi-x64.x86_64 shim grub2-pc-modules.noarch
Last metadata expiration check: 0:03:33 ago on Tue Sep 14 14:49:56 2021.
Dependencies resolved.
====================================================================================
 Package                 Architecture  Version                  Repository     Size
====================================================================================
Reinstalling:
 grub2-efi-ia32          x86_64        1:2.06~rc1-3.fc34        fedora        470 k
 grub2-efi-x64           x86_64        1:2.06~rc1-3.fc34        fedora        499 k
 grub2-pc-modules        noarch        1:2.06~rc1-3.fc34        fedora        912 k
 shim-x64                x86_64        15.4-4                   fedora        466 k

Transaction Summary
====================================================================================

Total download size: 2.3 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): grub2-efi-ia32-2.06~rc1-3.fc34.x86_64.rpm    2.2 MB/s | 470 kB     00:00
(2/4): grub2-efi-x64-2.06~rc1-3.fc34.x86_64.rpm     2.1 MB/s | 499 kB     00:00
(3/4): grub2-pc-modules-2.06~rc1-3.fc34.noarch.rpm  3.6 MB/s | 912 kB     00:00
(4/4): shim-x64-15.4-4.x86_64.rpm                   8.7 MB/s | 466 kB     00:00
------------------------------------------------------------------------------------
Total                                               4.0 MB/s | 2.3 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                            1/1
  Reinstalling     : grub2-efi-x64-1:2.06~rc1-3.fc34.x86_64                     1/8
  Reinstalling     : shim-x64-15.4-4.x86_64                                     2/8
  Reinstalling     : grub2-pc-modules-1:2.06~rc1-3.fc34.noarch                  3/8
  Reinstalling     : grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64                    4/8
  Cleanup          : shim-x64-15.4-4.x86_64                                     5/8
  Cleanup          : grub2-efi-x64-1:2.06~rc1-3.fc34.x86_64                     6/8
  Cleanup          : grub2-pc-modules-1:2.06~rc1-3.fc34.noarch                  7/8
  Cleanup          : grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64                    8/8
  Running scriptlet: grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64                    8/8
  Verifying        : grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64                    1/8
  Verifying        : grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64                    2/8
  Verifying        : grub2-efi-x64-1:2.06~rc1-3.fc34.x86_64                     3/8
  Verifying        : grub2-efi-x64-1:2.06~rc1-3.fc34.x86_64                     4/8
  Verifying        : grub2-pc-modules-1:2.06~rc1-3.fc34.noarch                  5/8
  Verifying        : grub2-pc-modules-1:2.06~rc1-3.fc34.noarch                  6/8
  Verifying        : shim-x64-15.4-4.x86_64                                     7/8
  Verifying        : shim-x64-15.4-4.x86_64                                     8/8

Reinstalled:
  grub2-efi-ia32-1:2.06~rc1-3.fc34.x86_64    grub2-efi-x64-1:2.06~rc1-3.fc34.x86_64
  grub2-pc-modules-1:2.06~rc1-3.fc34.noarch  shim-x64-15.4-4.x86_64

Complete!
[root@fedora boot]#
[root@fedora boot]# ls -al /etc/grub2-efi.cfg
lrwxrwxrwx. 1 root root 22 Mar 25 17:54 /etc/grub2-efi.cfg -> ../boot/grub2/grub.cfg
[root@fedora boot]# ls -al /boot/grub2/grub.cfg
ls: cannot access '/boot/grub2/grub.cfg': No such file or directory
[root@fedora boot]# grub2-mk
grub2-mkconfig         grub2-mklayout         grub2-mkrelpath
grub2-mkfont           grub2-mknetdir         grub2-mkrescue
grub2-mkimage          grub2-mkpasswd-pbkdf2  grub2-mkstandalone
[root@fedora boot]# grub2-mkconfig -o /etc/grub2-efi.cfg
Generating grub configuration file ...
Adding boot menu entry for UEFI Firmware Settings ...
done
[root@fedora boot]# ls -al /boot/grub2/grub.cfg
-rw-r--r--. 1 root root 6358 Sep 14 14:54 /boot/grub2/grub.cfg
[root@fedora boot]#

You can also confirm these symlinks are correct. They’re not required AFAIK but it causes less confusion when you’re troubleshooting.

[root@fedora boot]# ls -al /etc/grub*cfg
lrwxrwxrwx. 1 root root 22 Mar 25 17:54 /etc/grub2-efi.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root 22 Mar 25 17:54 /etc/grub2.cfg -> ../boot/grub2/grub.cfg

My loader entry for the latest installed kernel so you know what these generated files should look like:

[root@fedora boot]# cat /boot/loader/entries/409f8cfeabbc488a8850f19ccce95401-5.13.14-200.fc34.x86_64.conf
title Fedora (5.13.14-200.fc34.x86_64) 34 (Workstation Edition)
version 5.13.14-200.fc34.x86_64
linux /vmlinuz-5.13.14-200.fc34.x86_64
initrd /initramfs-5.13.14-200.fc34.x86_64.img
options root=UUID=c522780f-98a9-4378-a529-962710c0fc21 ro rootflags=subvol=root rd.luks.uuid=luks-64edc611-fbc0-436f-9524-43bfcc64be14 rhgb quiet
grub_users $grub_users
grub_arg --unrestricted
grub_class kernel
[root@fedora boot]#

My /etc/default/grub

[root@fedora boot]# cat /etc/default/grub
GRUB_TIMEOUT=35
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-64edc611-fbc0-436f-9524-43bfcc64be14 rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
[root@fedora boot]#

You might have additional customizations on that GRUB_CMDLINE_LINUX your system needs. grub2-mkconfig and grubby will reference that when generating configs.

And thanks to BLS, it’s a litle more work when you want to edit kernel args for existing entries, see: Setting kernel command line arguments with Fedora 30 - Fedora Magazine

For fun, here’s my grub.conf:

[root@fedora boot]# cat /boot/grub2/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=35
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=35
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/08_fallback_counting ###
insmod increment
# Check if boot_counter exists and boot_success=0 to activate this behaviour.
if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then
  # if countdown has ended, choose to boot rollback deployment,
  # i.e. default=1 on OSTree-based systems.
  if  [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then
    set default=1
    set boot_counter=-1
  # otherwise decrement boot_counter
  else
    decrement boot_counter
  fi
  save_env boot_counter
fi
### END /etc/grub.d/08_fallback_counting ###

### BEGIN /etc/grub.d/10_linux ###
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 56d708e0-a930-4e95-bdf4-87f57e8639b3
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=boot 52AA-D46F

# This section was generated by a script. Do not modify the generated file - all changes
# will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files.
#
# The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and
# populates the boot menu. Please refer to the Boot Loader Specification documentation
# for the files format: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/.

# The kernelopts variable should be defined in the grubenv file. But to ensure that menu
# entries populated from BootLoaderSpec files that use this variable work correctly even
# without a grubenv file, define a fallback kernelopts variable if this has not been set.
#
# The kernelopts variable in the grubenv file can be modified using the grubby tool or by
# executing the grub2-mkconfig tool. For the latter, the values of the GRUB_CMDLINE_LINUX
# and GRUB_CMDLINE_LINUX_DEFAULT options from /etc/default/grub file are used to set both
# the kernelopts variable in the grubenv file and the fallback kernelopts variable.
if [ -z "${kernelopts}" ]; then
  set kernelopts="root=UUID=c522780f-98a9-4378-a529-962710c0fc21 ro rootflags=subvol=root rd.luks.uuid=luks-64edc611-fbc0-436f-9524-43bfcc64be14 rhgb quiet "
fi

insmod blscfg
blscfg
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_reset_boot_success ###
# Hiding the menu is ok if last boot was ok or if this is a first boot attempt to boot the entry
if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
  set menu_hide_ok=1
else
  set menu_hide_ok=0
fi
# Reset boot_indeterminate after a successful boot
if [ "${boot_success}" = "1" ] ; then
  set boot_indeterminate=0
# Avoid boot_indeterminate causing the menu to be hidden more then once
elif [ "${boot_indeterminate}" = "1" ]; then
  set boot_indeterminate=2
fi
# Reset boot_success for current boot
set boot_success=0
save_env boot_success boot_indeterminate
### END /etc/grub.d/10_reset_boot_success ###

### BEGIN /etc/grub.d/12_menu_auto_hide ###
if [ x$feature_timeout_style = xy ] ; then
  if [ "${menu_show_once}" ]; then
    unset menu_show_once
    save_env menu_show_once
    set timeout_style=menu
    set timeout=60
  elif [ "${menu_auto_hide}" -a "${menu_hide_ok}" = "1" ]; then
    set orig_timeout_style=${timeout_style}
    set orig_timeout=${timeout}
    if [ "${fastboot}" = "1" ]; then
      # timeout_style=menu + timeout=0 avoids the countdown code keypress check
      set timeout_style=menu
      set timeout=0
    else
      set timeout_style=hidden
      set timeout=1
    fi
  fi
fi
### END /etc/grub.d/12_menu_auto_hide ###

### BEGIN /etc/grub.d/14_menu_show_once ###
if [ x$feature_timeout_style = xy ]; then
  if [ "${menu_show_once_timeout}" ]; then
    set timeout_style=menu
    set timeout="${menu_show_once_timeout}"
    unset menu_show_once_timeout
    save_env menu_show_once_timeout
  fi
fi
### END /etc/grub.d/14_menu_show_once ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
        fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
[root@fedora boot]#
2 Likes

Great explanation, well done. I followed the instructions step-by-step as you said. After rebooting I still land on grub. Do I need to change my boot options in bios?

While doing what you said, I guess I realised I did the same thing as chroot as stated in my first post.
I followed this guide

https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/#install-the-bootloader-files

This was what I did to fix my grub, after this I landed in grub after booting.

If you take a close look at this article, it says the problem I am facing was expected, it also provides a solution to this(my) problem. Unfortunately I was not able to understand the solution.
Here is the link

https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/#solving-problems-with-uefi-bootloader

In case if time permits, I suggest you to read through this article completely. It might help us to get to the solution.

Thanks.

Here is the directory structure of my boot partition:
i am posting this because i found out it has 2 EFI folders

pop-os@pop-os:/media/pop-os/E671-91AD$ ls && tree ./ -afqQpshDtC
EFI  System  grub2  loader  mach_kernel
"."
β”œβ”€β”€ [-rw-r--r--   34 Jan 27  2021]  "./mach_kernel"
β”œβ”€β”€ [drwxr-xr-x 4.0K Apr 23 06:58]  "./System"
β”‚   └── [drwxr-xr-x 4.0K Apr 23 06:58]  "./System/Library"
β”‚       └── [drwxr-xr-x 4.0K Apr 23 06:58]  "./System/Library/CoreServices"
β”‚           └── [-rw-r--r--  384 Jan 27  2021]  "./System/Library/CoreServices/SystemVersion.plist"
β”œβ”€β”€ [drwxr-xr-x 4.0K Sep 14 03:54]  "./EFI"
β”‚   β”œβ”€β”€ [drwxr-xr-x 4.0K Sep 14 03:54]  "./EFI/EFI"
β”‚   β”‚   β”œβ”€β”€ [drwxr-xr-x 4.0K Sep 14 03:54]  "./EFI/EFI/BOOT"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 06:51]  "./EFI/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   └── [-rw-r--r--  85K Apr 21 06:51]  "./EFI/EFI/BOOT/fbx64.efi"
β”‚   β”‚   └── [drwxr-xr-x 4.0K Sep 14 03:54]  "./EFI/EFI/fedora"
β”‚   β”‚       β”œβ”€β”€ [-rw-r--r--  110 Apr 21 06:51]  "./EFI/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rw-r--r-- 830K Apr 21 06:51]  "./EFI/EFI/fedora/mmx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 06:51]  "./EFI/EFI/fedora/shim.efi"
β”‚   β”‚       β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 06:51]  "./EFI/EFI/fedora/shimx64.efi"
β”‚   β”‚       β”œβ”€β”€ [drwxr-xr-x 4.0K Jun 15 11:41]  "./EFI/EFI/fedora/fonts"
β”‚   β”‚       β”œβ”€β”€ [-rw-r--r-- 2.4M Jun 15 11:41]  "./EFI/EFI/fedora/grubx64.efi"
β”‚   β”‚       └── [-rw-r--r-- 1.5M Jun 15 11:41]  "./EFI/EFI/fedora/grubia32.efi"
β”‚   β”œβ”€β”€ [drwxr-xr-x 4.0K Sep 15 03:28]  "./EFI/BOOT"
β”‚   β”‚   β”œβ”€β”€ [-rw-r--r-- 723K Apr 21 06:51]  "./EFI/BOOT/BOOTIA32.EFI"
β”‚   β”‚   β”œβ”€β”€ [-rw-r--r--  67K Apr 21 06:51]  "./EFI/BOOT/fbia32.efi"
β”‚   β”‚   β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 10:51]  "./EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   └── [-rw-r--r--  85K Apr 21 10:51]  "./EFI/BOOT/fbx64.efi"
β”‚   └── [drwxr-xr-x 4.0K Sep 15 03:28]  "./EFI/fedora"
β”‚       β”œβ”€β”€ [-rw-r--r--  112 Apr 21 06:51]  "./EFI/fedora/BOOTIA32.CSV"
β”‚       β”œβ”€β”€ [-rw-r--r-- 660K Apr 21 06:51]  "./EFI/fedora/mmia32.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 723K Apr 21 06:51]  "./EFI/fedora/shimia32.efi"
β”‚       β”œβ”€β”€ [-rw-r--r--  110 Apr 21 10:51]  "./EFI/fedora/BOOTX64.CSV"
β”‚       β”œβ”€β”€ [-rw-r--r-- 830K Apr 21 10:51]  "./EFI/fedora/mmx64.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 10:51]  "./EFI/fedora/shim.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 907K Apr 21 10:51]  "./EFI/fedora/shimx64.efi"
β”‚       β”œβ”€β”€ [drwxr-xr-x 4.0K Jun 15 15:41]  "./EFI/fedora/fonts"
β”‚       β”‚   └── [-rw-r--r-- 2.4M Jun 15 15:41]  "./EFI/fedora/fonts/unicode.pf2"
β”‚       β”œβ”€β”€ [-rw-r--r-- 2.4M Jun 15 15:41]  "./EFI/fedora/gcdx64.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 2.4M Jun 15 15:41]  "./EFI/fedora/grubx64.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 1.5M Jun 15 15:41]  "./EFI/fedora/gcdia32.efi"
β”‚       β”œβ”€β”€ [-rw-r--r-- 1.5M Jun 15 15:41]  "./EFI/fedora/grubia32.efi"
β”‚       └── [-rw-r--r-- 6.2K Sep 14 03:55]  "./EFI/fedora/grub.cfg"
β”œβ”€β”€ [drwxr-xr-x 4.0K Sep 14 03:54]  "./loader"
β”‚   └── [drwxr-xr-x 4.0K Jun 15 11:41]  "./loader/entries"
└── [drwxr-xr-x 4.0K Sep 14 03:56]  "./grub2"
    β”œβ”€β”€ [-rw-r--r-- 1.0K Jun 15 11:41]  "./grub2/grubenv"
    └── [-rw-r--r-- 6.2K Sep 14 13:25]  "./grub2/grub.cfg"

14 directories, 29 files

sorted by date modified. with permissions

there is efi folder inside efi folder. not sure if that is normal.
let me know if you need any further details

Just checked them. All boot options seem normal/same as before.

Do you need to see my grub.conf? I never edited it.

Uhh, I went back after writing most everything after my break and noticed you have no boot entries in /boot/loader/entries/ listed. Is that accurate?

If you need to re-create one, here’s I tested it out:

[root@fedora entries]# pwd
/boot/loader/entries
[root@fedora entries]# ls -al
total 20
drwx------. 2 root root 4096 Sep 14 14:54 .
drwxr-xr-x. 3 root root 4096 Sep 14 08:40 ..
-rw-r--r--. 1 root root  465 Sep 14 14:54 409f8cfeabbc488a8850f19ccce95401-0-rescue.conf
-rw-r--r--. 1 root root  393 Sep 14 14:54 409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf
-rw-r--r--. 1 root root  393 Sep 14 14:54 409f8cfeabbc488a8850f19ccce95401-5.13.14-200.fc34.x86_64.conf
[root@fedora entries]# rm 409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf
rm: remove regular file '409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf'? y
[root@fedora entries]# grubby --add-kernel=/boot/vmlinuz-5.11.12-300.fc34.x86_64
The kernel title must be specified
[root@fedora entries]# grubby --add-kernel=/boot/vmlinuz-5.11.12-300.fc34.x86_64 --title="Manual fix 5.11.12-300.fc34.x86_64"
[root@fedora entries]# ls -al
total 20
drwx------. 2 root root 4096 Sep 15 02:18 .
drwxr-xr-x. 3 root root 4096 Sep 14 08:40 ..
-rw-r--r--. 1 root root  465 Sep 14 14:54 409f8cfeabbc488a8850f19ccce95401-0-rescue.conf
-rw-r--r--. 1 root root  292 Sep 15 02:18 409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf
-rw-r--r--. 1 root root  393 Sep 14 14:54 409f8cfeabbc488a8850f19ccce95401-5.13.14-200.fc34.x86_64.conf
[root@fedora entries]# cat 409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf
title Manual fix 5.11.12-300.fc34.x86_64
version 5.11.12-300.fc34.x86_64
linux /vmlinuz-5.11.12-300.fc34.x86_64
initrd /initramfs-5.11.12-300.fc34.x86_64.img
options $kernelopts
id fedora-20210914134315-5.11.12-300.fc34.x86_64
grub_users $grub_users
grub_arg --unrestricted
grub_class kernel
[root@fedora entries]#

First off (or it was first of all before I noticed the loader things), here’s some of my assumptions:
I don’t think there’s a problem with you system’s EFI boot select because it’s able to run grub.
I expect you only have one copy of grub2 installed.
I think grub can’t find its config file, or the config file isn’t correct.

Probably not then though… I didn’t realize there’s two grub.cfg's in a default build.

[root@fedora boot]# ls -al /boot/efi/EFI/fedora/grub.cfg /boot/grub2/grub.cfg /etc/grub*cfg
-rwx------. 1 root root  144 Sep 14 04:43 /boot/efi/EFI/fedora/grub.cfg
-rw-r--r--. 1 root root 6358 Sep 14 14:54 /boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root   22 Mar 25 17:54 /etc/grub2-efi.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root   22 Mar 25 17:54 /etc/grub2.cfg -> ../boot/grub2/grub.cfg

Here’s my directory structure from /boot/.
And I don’t think it matters (but not 100%) that yours is ./EFI vs mine’s with /.efi because that should be a vfat filesystem that’s case-insensitive… but depends on how grub feels about it. Presumably it used to work that way.

[root@fedora entries]# grep boot /proc/mounts
/dev/vda2 /boot ext4 rw,seclabel,relatime 0 0
/dev/vda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro 0 0
[root@fedora boot]# tree ./ -afqQpshDtC
"."
β”œβ”€β”€ [drwx------  4.0K Dec 31  1969]  "./efi"
β”‚   β”œβ”€β”€ [-rwx------    34 Jan 27  2021]  "./efi/mach_kernel"
β”‚   β”œβ”€β”€ [drwx------  4.0K Apr 23 01:56]  "./efi/EFI"
β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 14:53]  "./efi/EFI/BOOT"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  723K Apr 21 01:51]  "./efi/EFI/BOOT/BOOTIA32.EFI"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------   67K Apr 21 01:51]  "./efi/EFI/BOOT/fbia32.efi"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  907K Apr 21 05:51]  "./efi/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   └── [-rwx------   85K Apr 21 05:51]  "./efi/EFI/BOOT/fbx64.efi"
β”‚   β”‚   └── [drwx------  4.0K Sep 14 14:53]  "./efi/EFI/fedora"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Mar 25 13:54]  "./efi/EFI/fedora/gcdx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Mar 25 13:54]  "./efi/EFI/fedora/gcdia32.efi"
β”‚   β”‚       β”œβ”€β”€ [drwx------  4.0K Mar 25 17:54]  "./efi/EFI/fedora/fonts"
β”‚   β”‚       β”‚   └── [-rwx------  2.4M Mar 25 13:54]  "./efi/EFI/fedora/fonts/unicode.pf2"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Mar 25 17:54]  "./efi/EFI/fedora/grubx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Mar 25 17:54]  "./efi/EFI/fedora/grubia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   112 Apr 21 01:51]  "./efi/EFI/fedora/BOOTIA32.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  660K Apr 21 01:51]  "./efi/EFI/fedora/mmia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  723K Apr 21 01:51]  "./efi/EFI/fedora/shimia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   110 Apr 21 05:51]  "./efi/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  830K Apr 21 05:51]  "./efi/EFI/fedora/mmx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 05:51]  "./efi/EFI/fedora/shim.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 05:51]  "./efi/EFI/fedora/shimx64.efi"
β”‚   β”‚       └── [-rwx------   144 Sep 14 04:43]  "./efi/EFI/fedora/grub.cfg"
β”‚   └── [drwx------  4.0K Apr 23 01:58]  "./efi/System"
β”‚       └── [drwx------  4.0K Apr 23 01:58]  "./efi/System/Library"
β”‚           └── [drwx------  4.0K Apr 23 01:58]  "./efi/System/Library/CoreServices"
β”‚               └── [-rwx------   384 Jan 27  2021]  "./efi/System/Library/CoreServices/SystemVersion.plist"
β”œβ”€β”€ [-rw-r--r--  152K Jan 27  2021]  "./elf-memtest86+-5.31"
β”œβ”€β”€ [-rw-r--r--  150K Jan 27  2021]  "./memtest86+-5.31"
β”œβ”€β”€ [-rw-r--r--   168 Apr  7 11:58]  "./.vmlinuz-5.11.12-300.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.4M Apr  7 12:00]  "./System.map-5.11.12-300.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  226K Apr  7 12:00]  "./config-5.11.12-300.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Apr  7 12:00]  "./vmlinuz-5.11.12-300.fc34.x86_64"
β”œβ”€β”€ [drwxr-xr-x  4.0K Apr 23 05:56]  "./extlinux"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/cat.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 28  2021]  "./extlinux/chain.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.2K Jan 28  2021]  "./extlinux/cmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 28  2021]  "./extlinux/cmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 28  2021]  "./extlinux/config.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 28  2021]  "./extlinux/cptime.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.4K Jan 28  2021]  "./extlinux/cpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.7K Jan 28  2021]  "./extlinux/cpuid.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 28  2021]  "./extlinux/cpuidtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/debug.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.0K Jan 28  2021]  "./extlinux/dhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 28  2021]  "./extlinux/dir.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.0K Jan 28  2021]  "./extlinux/disk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.5K Jan 28  2021]  "./extlinux/dmi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 28  2021]  "./extlinux/dmitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.2K Jan 28  2021]  "./extlinux/elf.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 28  2021]  "./extlinux/ethersel.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   10K Jan 28  2021]  "./extlinux/gfxboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/gpxecmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  163K Jan 28  2021]  "./extlinux/hdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 28  2021]  "./extlinux/hexdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 28  2021]  "./extlinux/host.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.1K Jan 28  2021]  "./extlinux/ifcpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 28  2021]  "./extlinux/ifcpu64.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 28  2021]  "./extlinux/ifmemdsk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.9K Jan 28  2021]  "./extlinux/ifplop.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/kbdmap.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.8K Jan 28  2021]  "./extlinux/kontron_wdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  113K Jan 28  2021]  "./extlinux/ldlinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  5.0K Jan 28  2021]  "./extlinux/lfs.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  175K Jan 28  2021]  "./extlinux/libcom32.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   66K Jan 28  2021]  "./extlinux/libgpl.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  100K Jan 28  2021]  "./extlinux/liblua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 28  2021]  "./extlinux/libmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 28  2021]  "./extlinux/libutil.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.6K Jan 28  2021]  "./extlinux/linux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 28  2021]  "./extlinux/ls.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  6.8K Jan 28  2021]  "./extlinux/lua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   11K Jan 28  2021]  "./extlinux/mboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 28  2021]  "./extlinux/memdisk"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.4K Jan 28  2021]  "./extlinux/meminfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 28  2021]  "./extlinux/menu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.3K Jan 28  2021]  "./extlinux/pci.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.4K Jan 28  2021]  "./extlinux/pcitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 28  2021]  "./extlinux/pmload.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/poweroff.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.1K Jan 28  2021]  "./extlinux/prdhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 28  2021]  "./extlinux/pwd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 28  2021]  "./extlinux/pxechn.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.4K Jan 28  2021]  "./extlinux/reboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 28  2021]  "./extlinux/rosh.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 28  2021]  "./extlinux/sanboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 28  2021]  "./extlinux/sdi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 28  2021]  "./extlinux/sysdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.7K Jan 28  2021]  "./extlinux/syslinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 28  2021]  "./extlinux/vesa.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.2K Jan 28  2021]  "./extlinux/vesainfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 28  2021]  "./extlinux/vesamenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 28  2021]  "./extlinux/vpdtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.5K Jan 28  2021]  "./extlinux/whichsys.c32"
β”‚   └── [-rw-r--r--  3.5K Jan 28  2021]  "./extlinux/zzjson.c32"
β”œβ”€β”€ [-rw-r--r--   168 Sep  3 10:56]  "./.vmlinuz-5.13.14-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.5M Sep  3 10:58]  "./System.map-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  229K Sep  3 10:58]  "./config-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep  3 10:58]  "./vmlinuz-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [drwx------   16K Sep 14 08:35]  "./lost+found"
β”œβ”€β”€ [drwxr-xr-x  4.0K Sep 14 08:40]  "./loader"
β”‚   └── [drwx------  4.0K Sep 14 14:54]  "./loader/entries"
β”‚       β”œβ”€β”€ [-rw-r--r--   465 Sep 14 14:54]  "./loader/entries/409f8cfeabbc488a8850f19ccce95401-0-rescue.conf"
β”‚       β”œβ”€β”€ [-rw-r--r--   393 Sep 14 14:54]  "./loader/entries/409f8cfeabbc488a8850f19ccce95401-5.11.12-300.fc34.x86_64.conf"
β”‚       └── [-rw-r--r--   393 Sep 14 14:54]  "./loader/entries/409f8cfeabbc488a8850f19ccce95401-5.13.14-200.fc34.x86_64.conf"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep 14 08:41]  "./vmlinuz-0-rescue-409f8cfeabbc488a8850f19ccce95401"
β”œβ”€β”€ [-rw-------   81M Sep 14 08:42]  "./initramfs-0-rescue-409f8cfeabbc488a8850f19ccce95401.img"
β”œβ”€β”€ [-rw-------   30M Sep 14 08:43]  "./initramfs-5.11.12-300.fc34.x86_64.img"
β”œβ”€β”€ [-rw-------   28M Sep 14 08:50]  "./initramfs-5.13.14-200.fc34.x86_64.img"
└── [drwx------  4.0K Sep 14 14:54]  "./grub2"
    β”œβ”€β”€ [-rw-r--r--  6.2K Sep 14 08:55]  "./grub2/grub.cfg-breakingit"
    β”œβ”€β”€ [-rw-------  1.0K Sep 14 14:24]  "./grub2/grubenv"
    └── [-rw-r--r--  6.2K Sep 14 14:54]  "./grub2/grub.cfg"

13 directories, 100 files
[root@fedora boot]#

And the efi boot settings for the VM:

[root@fedora boot]# efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0004,0002,0000,0003
Boot0000* UiApp FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0002* UEFI Misc Device      PciRoot(0x0)/Pci(0x2,0x3)/Pci(0x0,0x0)N.....YM....R,Y.
Boot0003* EFI Internal Shell    FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* Fedora        HD(1,GPT,a497123d-e46c-4877-a4a2-df1a86af5bd6,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)
[root@fedora boot]# blkid
/dev/vda1: UUID="52AA-D46F" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="a497123d-e46c-4877-a4a2-df1a86af5bd6"
/dev/vda2: UUID="56d708e0-a930-4e95-bdf4-87f57e8639b3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e58de9d0-1daf-4525-80cf-49d8ef116f44"
/dev/vda3: UUID="64edc611-fbc0-436f-9524-43bfcc64be14" TYPE="crypto_LUKS" PARTUUID="eec119eb-fc86-465c-b79e-4d37889a30d6"
/dev/mapper/luks-64edc611-fbc0-436f-9524-43bfcc64be14: LABEL="fedora_localhost-live" UUID="c522780f-98a9-4378-a529-962710c0fc21" UUID_SUB="bb1981fc-4004-400e-ad9a-4faf7fe96fd2" BLOCK_SIZE="4096" TYPE="btrfs"
/dev/zram0: LABEL="zram0" UUID="35ffc938-1a42-44a9-baf9-2469b4b0c7a6" TYPE="swap"
[root@fedora boot]#

I don’t suspect you have a problem with this or grub wouldn’t run.

But I didn’t notice before there’s two grub.cfg's

Here’s the one referenced in your link as the β€œreal” one:

[root@fedora boot]# cat /boot/efi/EFI/fedora/grub.cfg
search --no-floppy --fs-uuid --set=dev 56d708e0-a930-4e95-bdf4-87f57e8639b3
set prefix=($dev)/grub2

export $prefix
configfile $prefix/grub.cfg
[root@fedora boot]#

That shows me it just loads the other one. I’d suggest making sure your search line’s uuid matches the /boot partition with the kernels. In my VM’s case /dev/vda2.

For the start of this section in particular, I don’t understand why the documentation says the grub2-efi.cfg symlink doesn’t match what a fresh install configured: Bootloading with GRUB2 :: Fedora Docs

Looking at your directory tree of /boot I see what may be two problems.

First you have /boot/EFI/EFI
On my system I have what is installed by default as /boot/efi/EFI

β”œβ”€β”€ efi
β”‚   β”œβ”€β”€ EFI
β”‚   β”‚   β”œβ”€β”€ BOOT
β”‚   β”‚   β”‚   β”œβ”€β”€ BOOTIA32.EFI
β”‚   β”‚   β”‚   β”œβ”€β”€ BOOTX64.EFI
β”‚   β”‚   β”‚   β”œβ”€β”€ fbia32.efi
β”‚   β”‚   β”‚   └── fbx64.efi
β”‚   β”‚   └── fedora
β”‚   β”‚       β”œβ”€β”€ BOOTIA32.CSV
β”‚   β”‚       β”œβ”€β”€ BOOTX64.CSV
β”‚   β”‚       β”œβ”€β”€ fonts
β”‚   β”‚       β”‚   └── unicode.pf2
β”‚   β”‚       β”œβ”€β”€ gcdia32.efi
β”‚   β”‚       β”œβ”€β”€ gcdx64.efi
β”‚   β”‚       β”œβ”€β”€ grub.cfg
β”‚   β”‚       β”œβ”€β”€ grub.cfg.old
β”‚   β”‚       β”œβ”€β”€ grub.cfg.rpmsave
β”‚   β”‚       β”œβ”€β”€ grubenv.rpmsave
β”‚   β”‚       β”œβ”€β”€ grubia32.efi
β”‚   β”‚       β”œβ”€β”€ grubx64.efi
β”‚   β”‚       β”œβ”€β”€ mmia32.efi
β”‚   β”‚       β”œβ”€β”€ mmx64.efi
β”‚   β”‚       β”œβ”€β”€ shim.efi
β”‚   β”‚       β”œβ”€β”€ shimia32.efi
β”‚   β”‚       β”œβ”€β”€ shimx64.efi
β”‚   β”‚       └── xen-4.14.2.efi
β”‚   β”œβ”€β”€ mach_kernel
β”‚   └── System
β”‚       └── Library
β”‚           └── CoreServices
β”‚               └── SystemVersion.plist

You also have no entries displayed in /boot/loader/entries/
I have one loader entry there for each active kernel installed.

β”œβ”€β”€ loader
β”‚   └── entries
β”‚       β”œβ”€β”€ 730854f859414ee8ab2aff2cbe878557-0-rescue.conf
β”‚       β”œβ”€β”€ 730854f859414ee8ab2aff2cbe878557-5.13.10-200.fc34.x86_64.conf
β”‚       β”œβ”€β”€ 730854f859414ee8ab2aff2cbe878557-5.13.12-200.fc34.x86_64.conf
β”‚       β”œβ”€β”€ 730854f859414ee8ab2aff2cbe878557-5.13.13-200.fc34.x86_64.conf
β”‚       β”œβ”€β”€ 730854f859414ee8ab2aff2cbe878557-5.13.14-200.fc34.x86_64.conf
β”‚       └── 730854f859414ee8ab2aff2cbe878557-5.13.15-200.fc34.x86_64.conf

I am so sorry, i just realized that my tree output was done as a non root user,
i just logged into my pc and found this out. those .conf files in loader directory cannot be listed by a non root user. here is a proper tree output as a root-

[root@rog boot] # pwd ; tree ./ -afqQpshDtC
/boot
"."
β”œβ”€β”€ [drwx------  4.0K Jan  1  1970]  "./efi"
β”‚   β”œβ”€β”€ [-rwx------    34 Jan 27  2021]  "./efi/mach_kernel"
β”‚   β”œβ”€β”€ [drwx------  4.0K Apr 23 12:28]  "./efi/System"
β”‚   β”‚   └── [drwx------  4.0K Apr 23 12:28]  "./efi/System/Library"
β”‚   β”‚       └── [drwx------  4.0K Apr 23 12:28]  "./efi/System/Library/CoreServices"
β”‚   β”‚           └── [-rwx------   384 Jan 27  2021]  "./efi/System/Library/CoreServices/SystemVersion.plist"
β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI"
β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI"
β”‚   β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI/BOOT"
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   β”‚   └── [-rwx------   85K Apr 21 12:21]  "./efi/EFI/EFI/BOOT/fbx64.efi"
β”‚   β”‚   β”‚   └── [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI/fedora"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------   110 Apr 21 12:21]  "./efi/EFI/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  830K Apr 21 12:21]  "./efi/EFI/EFI/fedora/mmx64.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/fedora/shim.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/fedora/shimx64.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [drwx------  4.0K Jun 15 17:11]  "./efi/EFI/EFI/fedora/fonts"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 17:11]  "./efi/EFI/EFI/fedora/grubx64.efi"
β”‚   β”‚   β”‚       └── [-rwx------  1.5M Jun 15 17:11]  "./efi/EFI/EFI/fedora/grubia32.efi"
β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 15 08:58]  "./efi/EFI/BOOT"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  723K Apr 21 12:21]  "./efi/EFI/BOOT/BOOTIA32.EFI"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------   67K Apr 21 12:21]  "./efi/EFI/BOOT/fbia32.efi"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   └── [-rwx------   85K Apr 21 16:21]  "./efi/EFI/BOOT/fbx64.efi"
β”‚   β”‚   └── [drwx------  4.0K Sep 15 08:58]  "./efi/EFI/fedora"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   112 Apr 21 12:21]  "./efi/EFI/fedora/BOOTIA32.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  660K Apr 21 12:21]  "./efi/EFI/fedora/mmia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  723K Apr 21 12:21]  "./efi/EFI/fedora/shimia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   110 Apr 21 16:21]  "./efi/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  830K Apr 21 16:21]  "./efi/EFI/fedora/mmx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/fedora/shim.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/fedora/shimx64.efi"
β”‚   β”‚       β”œβ”€β”€ [drwx------  4.0K Jun 15 21:11]  "./efi/EFI/fedora/fonts"
β”‚   β”‚       β”‚   └── [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/fonts/unicode.pf2"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/gcdx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/grubx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Jun 15 21:11]  "./efi/EFI/fedora/gcdia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Jun 15 21:11]  "./efi/EFI/fedora/grubia32.efi"
β”‚   β”‚       └── [-rwx------  6.2K Sep 14 09:25]  "./efi/EFI/fedora/grub.cfg"
β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/loader"
β”‚   β”‚   └── [drwx------  4.0K Jun 15 17:11]  "./efi/loader/entries"
β”‚   └── [drwx------  4.0K Sep 14 09:26]  "./efi/grub2"
β”‚       β”œβ”€β”€ [-rwx------  1.0K Jun 15 17:11]  "./efi/grub2/grubenv"
β”‚       └── [-rwx------  6.2K Sep 14 18:55]  "./efi/grub2/grub.cfg"
β”œβ”€β”€ [-rw-r--r--  152K Jan 27  2021]  "./elf-memtest86+-5.31"
β”œβ”€β”€ [-rw-r--r--  150K Jan 27  2021]  "./memtest86+-5.31"
β”œβ”€β”€ [drwxr-xr-x  4.0K Apr 23 16:26]  "./extlinux"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/cat.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 29  2021]  "./extlinux/chain.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.2K Jan 29  2021]  "./extlinux/cmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 29  2021]  "./extlinux/cmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 29  2021]  "./extlinux/config.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 29  2021]  "./extlinux/cptime.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.4K Jan 29  2021]  "./extlinux/cpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.7K Jan 29  2021]  "./extlinux/cpuid.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 29  2021]  "./extlinux/cpuidtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/debug.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.0K Jan 29  2021]  "./extlinux/dhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/dir.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.0K Jan 29  2021]  "./extlinux/disk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.5K Jan 29  2021]  "./extlinux/dmi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 29  2021]  "./extlinux/dmitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.2K Jan 29  2021]  "./extlinux/elf.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 29  2021]  "./extlinux/ethersel.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   10K Jan 29  2021]  "./extlinux/gfxboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/gpxecmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  163K Jan 29  2021]  "./extlinux/hdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 29  2021]  "./extlinux/hexdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/host.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/ifcpu64.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.1K Jan 29  2021]  "./extlinux/ifcpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 29  2021]  "./extlinux/ifmemdsk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.9K Jan 29  2021]  "./extlinux/ifplop.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/kbdmap.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.8K Jan 29  2021]  "./extlinux/kontron_wdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  113K Jan 29  2021]  "./extlinux/ldlinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  5.0K Jan 29  2021]  "./extlinux/lfs.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  175K Jan 29  2021]  "./extlinux/libcom32.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   66K Jan 29  2021]  "./extlinux/libgpl.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  100K Jan 29  2021]  "./extlinux/liblua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 29  2021]  "./extlinux/libmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 29  2021]  "./extlinux/libutil.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.6K Jan 29  2021]  "./extlinux/linux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/ls.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  6.8K Jan 29  2021]  "./extlinux/lua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   11K Jan 29  2021]  "./extlinux/mboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 29  2021]  "./extlinux/memdisk"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.4K Jan 29  2021]  "./extlinux/meminfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 29  2021]  "./extlinux/menu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.3K Jan 29  2021]  "./extlinux/pci.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.4K Jan 29  2021]  "./extlinux/pcitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 29  2021]  "./extlinux/pmload.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/poweroff.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.1K Jan 29  2021]  "./extlinux/prdhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 29  2021]  "./extlinux/pwd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 29  2021]  "./extlinux/pxechn.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.4K Jan 29  2021]  "./extlinux/reboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 29  2021]  "./extlinux/rosh.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/sanboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 29  2021]  "./extlinux/sdi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 29  2021]  "./extlinux/sysdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.7K Jan 29  2021]  "./extlinux/syslinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/vesa.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.2K Jan 29  2021]  "./extlinux/vesainfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 29  2021]  "./extlinux/vesamenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/vpdtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.5K Jan 29  2021]  "./extlinux/whichsys.c32"
β”‚   └── [-rw-r--r--  3.5K Jan 29  2021]  "./extlinux/zzjson.c32"
β”œβ”€β”€ [drwx------   16K Aug 17 17:02]  "./lost+found"
β”œβ”€β”€ [drwxr-xr-x  4.0K Aug 17 17:04]  "./loader"
β”‚   └── [drwx------  4.0K Sep 16 10:22]  "./loader/entries"
β”‚       β”œβ”€β”€ [-rw-r--r--   575 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-0-rescue.conf"
β”‚       β”œβ”€β”€ [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.13-200.fc34.x86_64.conf"
β”‚       β”œβ”€β”€ [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.14-200.fc34.x86_64.conf"
β”‚       └── [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.15-200.fc34.x86_64.conf"
β”œβ”€β”€ [-rwxr-xr-x   10M Aug 17 17:05]  "./vmlinuz-0-rescue-479afd57268e4010b591172be25e052a"
β”œβ”€β”€ [-rw-------   81M Aug 17 17:05]  "./initramfs-0-rescue-479afd57268e4010b591172be25e052a.img"
β”œβ”€β”€ [-rw-r--r--   168 Aug 26 22:50]  "./.vmlinuz-5.13.13-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-r--r--  229K Aug 26 22:52]  "./config-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------  5.5M Aug 26 22:52]  "./System.map-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Aug 26 22:52]  "./vmlinuz-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--   168 Sep  3 21:26]  "./.vmlinuz-5.13.14-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.5M Sep  3 21:28]  "./System.map-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  229K Sep  3 21:28]  "./config-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep  3 21:28]  "./vmlinuz-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------   35M Sep  7 08:03]  "./initramfs-5.13.13-200.fc34.x86_64.img"
β”œβ”€β”€ [-rw-r--r--   168 Sep  8 21:49]  "./.vmlinuz-5.13.15-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.5M Sep  8 21:51]  "./System.map-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  229K Sep  8 21:52]  "./config-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep  8 21:52]  "./vmlinuz-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------   35M Sep 14 23:15]  "./initramfs-5.13.14-200.fc34.x86_64.img"
β”œβ”€β”€ [-rw-------   35M Sep 15 08:53]  "./initramfs-5.13.15-200.fc34.x86_64.img"
└── [drwx------  4.0K Sep 16 10:21]  "./grub2"
    β”œβ”€β”€ [-rw-r--r--  6.3K Sep 15 08:54]  "./grub2/grub.cfg-breakingit"
    β”œβ”€β”€ [-rw-------  1.0K Sep 16 10:21]  "./grub2/grubenv"
    └── [-rw-r--r--  6.3K Sep 16 10:22]  "./grub2/grub.cfg"

20 directories, 116 files

Maybe this screenshot also helps, I want to clarify that I see few conf files in entries directory(from grub).
Here is Ls of entries directory, cat of one of the conf files(latest kernel version)

I guess you are right.

How can I make sure this is true?

I highly suggest you to read through my first post, it explains in detail what I did as chroot with grub in the first place while following the guide

https://asamalik.fedorapeople.org/tmp-docs-preview/quick-docs/bootloading-with-grub2/

:point_up_2:I did this before asking help on this forum.
I did not format any partition before doing this.

my output of same command-

[root@rog boot] # ls -al /boot/efi/EFI/fedora/grub.cfg /boot/grub2/grub.cfg /etc/grub*cfg
-rwx------. 1 root root 6352 Sep 14 09:25 /boot/efi/EFI/fedora/grub.cfg
-rw-r--r--. 1 root root 6466 Sep 16 10:22 /boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root   22 Jun 15 21:11 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root   22 Jun 15 21:11 /etc/grub2-efi.cfg -> ../boot/grub2/grub.cfg

About EFI vs efi case insensitive argument:

I don’t think grub files are case insensitive because of its auto-complete feature. Cannot Confirm

[root@rog boot] # grep boot /proc/mounts
/dev/nvme0n1p2 /boot ext4 rw,seclabel,relatime 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro 0 0
[root@rog boot] # efibootmgr -v
BootCurrent: 0011
Timeout: 1 seconds
BootOrder: 0011,0010,0000,0000,0000,0000,0000,0006,0004,0000,0000,0000,0000,0007,0008,0002,0003,0009,0005,0001,000B
Boot0000* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* WINDOWS-10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* Pop!_OS 20.10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0003* Pop!_OS 20.10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* Garuda	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0005* Pop!_OS 20.10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0006* Manjaro	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0007* Pop!_OS 20.10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0008* Pop!_OS 20.10	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0009* ubuntu	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot000B  Fedora	HD(1,GPT,59ed68c9-7409-4a30-a393-33655a13fc61,0x800,0x12c000)/File(\EFI\FEDORA\SHIM.EFI)..BO
Boot0010* Fedora	HD(1,GPT,59ed68c9-7409-4a30-a393-33655a13fc61,0x800,0x12c000)/File(\EFI\FEDORA\SHIM.EFI)..BO
Boot0011* Fedora	HD(1,GPT,59ed68c9-7409-4a30-a393-33655a13fc61,0x800,0x12c000)/File(\EFI\FEDORA\SHIMX64.EFI)
[root@rog boot] #










What should I do with your tree structure??

Also another question
Can I β€œJust” format my boot partition, install grub to it again? By using grub2 install command?

how can i solve this problem? is simply renaming the file enough?? or do i need to run any grub commands ??

this issue has been reolved. i had to run tree command as root user, i did not. so few files are missing.
this is my actual tree of /boot

[root@rog boot] # pwd ; tree ./ -afqQpshDtC
/boot
"."
β”œβ”€β”€ [drwx------  4.0K Jan  1  1970]  "./efi"
β”‚   β”œβ”€β”€ [-rwx------    34 Jan 27  2021]  "./efi/mach_kernel"
β”‚   β”œβ”€β”€ [drwx------  4.0K Apr 23 12:28]  "./efi/System"
β”‚   β”‚   └── [drwx------  4.0K Apr 23 12:28]  "./efi/System/Library"
β”‚   β”‚       └── [drwx------  4.0K Apr 23 12:28]  "./efi/System/Library/CoreServices"
β”‚   β”‚           └── [-rwx------   384 Jan 27  2021]  "./efi/System/Library/CoreServices/SystemVersion.plist"
β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI"
β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI"
β”‚   β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI/BOOT"
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   β”‚   └── [-rwx------   85K Apr 21 12:21]  "./efi/EFI/EFI/BOOT/fbx64.efi"
β”‚   β”‚   β”‚   └── [drwx------  4.0K Sep 14 09:24]  "./efi/EFI/EFI/fedora"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------   110 Apr 21 12:21]  "./efi/EFI/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  830K Apr 21 12:21]  "./efi/EFI/EFI/fedora/mmx64.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/fedora/shim.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 12:21]  "./efi/EFI/EFI/fedora/shimx64.efi"
β”‚   β”‚   β”‚       β”œβ”€β”€ [drwx------  4.0K Jun 15 17:11]  "./efi/EFI/EFI/fedora/fonts"
β”‚   β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 17:11]  "./efi/EFI/EFI/fedora/grubx64.efi"
β”‚   β”‚   β”‚       └── [-rwx------  1.5M Jun 15 17:11]  "./efi/EFI/EFI/fedora/grubia32.efi"
β”‚   β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 15 08:58]  "./efi/EFI/BOOT"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  723K Apr 21 12:21]  "./efi/EFI/BOOT/BOOTIA32.EFI"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------   67K Apr 21 12:21]  "./efi/EFI/BOOT/fbia32.efi"
β”‚   β”‚   β”‚   β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/BOOT/BOOTX64.EFI"
β”‚   β”‚   β”‚   └── [-rwx------   85K Apr 21 16:21]  "./efi/EFI/BOOT/fbx64.efi"
β”‚   β”‚   └── [drwx------  4.0K Sep 15 08:58]  "./efi/EFI/fedora"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   112 Apr 21 12:21]  "./efi/EFI/fedora/BOOTIA32.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  660K Apr 21 12:21]  "./efi/EFI/fedora/mmia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  723K Apr 21 12:21]  "./efi/EFI/fedora/shimia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------   110 Apr 21 16:21]  "./efi/EFI/fedora/BOOTX64.CSV"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  830K Apr 21 16:21]  "./efi/EFI/fedora/mmx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/fedora/shim.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  907K Apr 21 16:21]  "./efi/EFI/fedora/shimx64.efi"
β”‚   β”‚       β”œβ”€β”€ [drwx------  4.0K Jun 15 21:11]  "./efi/EFI/fedora/fonts"
β”‚   β”‚       β”‚   └── [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/fonts/unicode.pf2"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/gcdx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  2.4M Jun 15 21:11]  "./efi/EFI/fedora/grubx64.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Jun 15 21:11]  "./efi/EFI/fedora/gcdia32.efi"
β”‚   β”‚       β”œβ”€β”€ [-rwx------  1.5M Jun 15 21:11]  "./efi/EFI/fedora/grubia32.efi"
β”‚   β”‚       └── [-rwx------  6.2K Sep 14 09:25]  "./efi/EFI/fedora/grub.cfg"
β”‚   β”œβ”€β”€ [drwx------  4.0K Sep 14 09:24]  "./efi/loader"
β”‚   β”‚   └── [drwx------  4.0K Jun 15 17:11]  "./efi/loader/entries"
β”‚   └── [drwx------  4.0K Sep 14 09:26]  "./efi/grub2"
β”‚       β”œβ”€β”€ [-rwx------  1.0K Jun 15 17:11]  "./efi/grub2/grubenv"
β”‚       └── [-rwx------  6.2K Sep 14 18:55]  "./efi/grub2/grub.cfg"
β”œβ”€β”€ [-rw-r--r--  152K Jan 27  2021]  "./elf-memtest86+-5.31"
β”œβ”€β”€ [-rw-r--r--  150K Jan 27  2021]  "./memtest86+-5.31"
β”œβ”€β”€ [drwxr-xr-x  4.0K Apr 23 16:26]  "./extlinux"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/cat.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 29  2021]  "./extlinux/chain.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.2K Jan 29  2021]  "./extlinux/cmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 29  2021]  "./extlinux/cmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 29  2021]  "./extlinux/config.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 29  2021]  "./extlinux/cptime.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.4K Jan 29  2021]  "./extlinux/cpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.7K Jan 29  2021]  "./extlinux/cpuid.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 29  2021]  "./extlinux/cpuidtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/debug.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.0K Jan 29  2021]  "./extlinux/dhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/dir.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.0K Jan 29  2021]  "./extlinux/disk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.5K Jan 29  2021]  "./extlinux/dmi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 29  2021]  "./extlinux/dmitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.2K Jan 29  2021]  "./extlinux/elf.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.7K Jan 29  2021]  "./extlinux/ethersel.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   10K Jan 29  2021]  "./extlinux/gfxboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/gpxecmd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  163K Jan 29  2021]  "./extlinux/hdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.6K Jan 29  2021]  "./extlinux/hexdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/host.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/ifcpu64.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.1K Jan 29  2021]  "./extlinux/ifcpu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.2K Jan 29  2021]  "./extlinux/ifmemdsk.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.9K Jan 29  2021]  "./extlinux/ifplop.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/kbdmap.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.8K Jan 29  2021]  "./extlinux/kontron_wdt.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  113K Jan 29  2021]  "./extlinux/ldlinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  5.0K Jan 29  2021]  "./extlinux/lfs.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  175K Jan 29  2021]  "./extlinux/libcom32.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   66K Jan 29  2021]  "./extlinux/libgpl.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  100K Jan 29  2021]  "./extlinux/liblua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 29  2021]  "./extlinux/libmenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   23K Jan 29  2021]  "./extlinux/libutil.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  4.6K Jan 29  2021]  "./extlinux/linux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/ls.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  6.8K Jan 29  2021]  "./extlinux/lua.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   11K Jan 29  2021]  "./extlinux/mboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   25K Jan 29  2021]  "./extlinux/memdisk"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.4K Jan 29  2021]  "./extlinux/meminfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 29  2021]  "./extlinux/menu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.3K Jan 29  2021]  "./extlinux/pci.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.4K Jan 29  2021]  "./extlinux/pcitest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 29  2021]  "./extlinux/pmload.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/poweroff.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.1K Jan 29  2021]  "./extlinux/prdhcp.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.5K Jan 29  2021]  "./extlinux/pwd.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   12K Jan 29  2021]  "./extlinux/pxechn.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.4K Jan 29  2021]  "./extlinux/reboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 29  2021]  "./extlinux/rosh.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.6K Jan 29  2021]  "./extlinux/sanboot.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  3.0K Jan 29  2021]  "./extlinux/sdi.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   14K Jan 29  2021]  "./extlinux/sysdump.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  8.7K Jan 29  2021]  "./extlinux/syslinux.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.9K Jan 29  2021]  "./extlinux/vesa.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.2K Jan 29  2021]  "./extlinux/vesainfo.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--   26K Jan 29  2021]  "./extlinux/vesamenu.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  1.8K Jan 29  2021]  "./extlinux/vpdtest.c32"
β”‚   β”œβ”€β”€ [-rw-r--r--  2.5K Jan 29  2021]  "./extlinux/whichsys.c32"
β”‚   └── [-rw-r--r--  3.5K Jan 29  2021]  "./extlinux/zzjson.c32"
β”œβ”€β”€ [drwx------   16K Aug 17 17:02]  "./lost+found"
β”œβ”€β”€ [drwxr-xr-x  4.0K Aug 17 17:04]  "./loader"
β”‚   └── [drwx------  4.0K Sep 16 10:22]  "./loader/entries"
β”‚       β”œβ”€β”€ [-rw-r--r--   575 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-0-rescue.conf"
β”‚       β”œβ”€β”€ [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.13-200.fc34.x86_64.conf"
β”‚       β”œβ”€β”€ [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.14-200.fc34.x86_64.conf"
β”‚       └── [-rw-r--r--   503 Sep 16 10:22]  "./loader/entries/479afd57268e4010b591172be25e052a-5.13.15-200.fc34.x86_64.conf"
β”œβ”€β”€ [-rwxr-xr-x   10M Aug 17 17:05]  "./vmlinuz-0-rescue-479afd57268e4010b591172be25e052a"
β”œβ”€β”€ [-rw-------   81M Aug 17 17:05]  "./initramfs-0-rescue-479afd57268e4010b591172be25e052a.img"
β”œβ”€β”€ [-rw-r--r--   168 Aug 26 22:50]  "./.vmlinuz-5.13.13-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-r--r--  229K Aug 26 22:52]  "./config-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------  5.5M Aug 26 22:52]  "./System.map-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Aug 26 22:52]  "./vmlinuz-5.13.13-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--   168 Sep  3 21:26]  "./.vmlinuz-5.13.14-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.5M Sep  3 21:28]  "./System.map-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  229K Sep  3 21:28]  "./config-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep  3 21:28]  "./vmlinuz-5.13.14-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------   35M Sep  7 08:03]  "./initramfs-5.13.13-200.fc34.x86_64.img"
β”œβ”€β”€ [-rw-r--r--   168 Sep  8 21:49]  "./.vmlinuz-5.13.15-200.fc34.x86_64.hmac"
β”œβ”€β”€ [-rw-------  5.5M Sep  8 21:51]  "./System.map-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rw-r--r--  229K Sep  8 21:52]  "./config-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rwxr-xr-x   10M Sep  8 21:52]  "./vmlinuz-5.13.15-200.fc34.x86_64"
β”œβ”€β”€ [-rw-------   35M Sep 14 23:15]  "./initramfs-5.13.14-200.fc34.x86_64.img"
β”œβ”€β”€ [-rw-------   35M Sep 15 08:53]  "./initramfs-5.13.15-200.fc34.x86_64.img"
└── [drwx------  4.0K Sep 16 10:21]  "./grub2"
    β”œβ”€β”€ [-rw-r--r--  6.3K Sep 15 08:54]  "./grub2/grub.cfg-breakingit"
    β”œβ”€β”€ [-rw-------  1.0K Sep 16 10:21]  "./grub2/grubenv"
    └── [-rw-r--r--  6.3K Sep 16 10:22]  "./grub2/grub.cfg"

20 directories, 116 files