efibootmgr ignores \'s
Chris Murphy
lists at colorremedies.com
Fri Nov 22 20:33:17 UTC 2013
On Nov 22, 2013, at 12:27 PM, Rick Stevens <ricks at alldigital.com> wrote:
> 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 ("\\").
Ahh OK, and anaconda isn't doing this in a shell so it's unaffected.
Chris Murphy
More information about the test
mailing list