Description of problem: Anaconda is asking efibootmgr to set an NVRAM variable for a path that doesn't exist. Version-Release number of selected component (if applicable): anaconda-23.12-1 How reproducible: Always Steps to Reproduce: 1. Do a UEFI installation Actual results: Error message says the bootloader wasn't installed and that it's probably a firmware or kernel bug. program log shows: 23:24:35,520 INFO program: Running... efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi 23:24:35,541 INFO program: efibootmgr: Could not add entry to BootOrder: No such file or directory Expected results: Anaconda should have efibootmgr path to shim as /boot/efi/EFI/fedora/shim.efi Additional info: This could be fatal in a dual boot scenario if an existing BOOTX64.EFI is not overwritten by Anaconda (shim.efi as BOOTX64.EFI for fallback boot absent a proper NVRAM entry).
Created attachment 1044539 [details] program.log
Created attachment 1044540 [details] anaconda.log
Created attachment 1044541 [details] storage.log
-l specifies the loader name which will be used by the EFI firmware, so the path is local to the EFI partition and uses \ as the directory separator.
I don't understand how this is not a bug. I get an error message during the installation, there was a failure here. An NVRAM entry was not set. When I do: efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \\EFI\\fedora\\shim.efi I get the same error message as in the program.log, and there is no NVRAM entry. When I do: efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \\boot\efi\\EFI\\fedora\\shim.efi There is no error, and there is a Fedora entry in NVRAM.
Rather: \\boot\\efi\\EFI\\fedora\\shim.efi
Fedora 22 program.log command: Running... efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi BootCurrent: 0000 BootOrder: 0005,0000,0001,0002,0003,0004 Boot0000* Mac Boot Boot0001* Mac Boot Boot0002* EFI DVD/CDROM Boot0003* EFI Hard Drive Boot0004* EFI Internal Shell Boot0005* Fedora Fedora 23 program.log command: Running... efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi efibootmgr: Could not add entry to BootOrder: No such file or directory Fedora 22 UEFI installation always succeeds. Fedora 23 UEFI installation always hits this error (see screenshot of what I see in Anaconda). And yet this morning this command in the same install environment where it failed for Anaconda, there is no error: # efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \\EFI\\fedora\\shim.efi So I don't know what's going on...
Created attachment 1045127 [details] screenshot anaconda installing boot loader error
*** This bug has been marked as a duplicate of bug 1235323 ***