efibootmgr ignores \'s

Rick Stevens ricks at alldigital.com
Fri Nov 22 19:27:49 UTC 2013


On 11/22/2013 11:22 AM, Chris Murphy issued this missive:
> When anaconda issues the command (according to program.log):
>
> efibootmgr -c -w -L Fedora -d /dev/sda -p 4 -l \EFI\fedora\shim.efi
>
> efbootmgr -v reports the entry as:
>
> Boot0000* Fedora	HD(4,3885800,64000,46559d7b-e280-468b-a298-0dafbc4d1575)File(\EFI\fedora\shim.efi)
>
> If I remove that entry, and then use the identical command as root:
>
> efibootmgr -c -w -L Fedora -d /dev/sda -p 4 -l \EFI\fedora\shim.efi

Try:

   efibootmgr -c -w -L Fedora -d /dev/sda -p 4 -l \\EFI\\fedora\\shim.efi

The reason being that you're still in a shell and "\E" is the same as
"E". To insert an explicit backslash, you have to double it ("\\").
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         C program run. C program crash. C programmer quit.         -
----------------------------------------------------------------------


More information about the test mailing list