Re: efibootmgr ignores \'s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         C program run. C program crash. C programmer quit.         -
----------------------------------------------------------------------
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux