I’ve recently been messing around with my EFI partition to shell out the remains of a Windows 10 dual boot setup I had and move it to the start of my drive, all and all it went well, only bricked it twice. Anyway my Fedora is booting fine however I’ve noticed two boot entries in UEFI both for the same install of Fedora. I had a look in /boot/efi/EFI and there are two instances of the “fedora” folder, both containing shimx64.efi, one in /boot/efi/EFI/fedora and another in /boot/efi/EFI/EFI/fedora.
Most likely I just typoed while doing the cp operation to transfer the files to a dummy partition and then to the new EFI partition in the correct position I wanted it but I don’t know which one to delete or if it even matters since both entries are identical and boot fine
~$ sudo diff -s /boot/efi/EFI/fedora/shimx64.efi /boot/efi/EFI/EFI/fedora/shimx64.efi
[sudo] password for cryptic:
Files /boot/efi/EFI/fedora/shimx64.efi and /boot/efi/EFI/EFI/fedora/shimx64.efi are identical
Running efibootmgr
~$ efibootmgr
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0004,0000
Boot0000* Fedora HD(1,GPT,e8dca705-ce47-4a1e-a64d-541cdb2f3f0b,0x800,0x80000)/\EFI\FEDORA\SHIMX64.EFI
Boot0001* UEFI OS HD(1,GPT,e8dca705-ce47-4a1e-a64d-541cdb2f3f0b,0x800,0x80000)/\EFI\BOOT\BOOTX64.EFI0000424f
Boot0002* Fedora HD(1,GPT,e8dca705-ce47-4a1e-a64d-541cdb2f3f0b,0x800,0x80000)/\EFI\fedora\shimx64.efi
Boot0004* Fedora HD(1,GPT,e8dca705-ce47-4a1e-a64d-541cdb2f3f0b,0x800,0x80000)/\EFI\FEDORA\SHIM.EFI0000424f
The only one im slightly confused about is Boot 0000 as the path is caps cased and there is no /boot/EFI/FEDORA/ folder.
Some clarity on what these are referencing and advice for what to do here would be much appreciated, thanks