[Bug 229191] efibootmgr(8) fails to create boot var when ESP is mounted using a gpt label

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 20 21:45:56 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229191

            Bug ID: 229191
           Summary: efibootmgr(8) fails to create boot var when ESP is
                    mounted using a gpt label
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: andrelupa at yandex.com

Consider, for example, the following sequence:

# mount_msdosfs /dev/gpt/efisys /mnt
# mkdir -p /mnt/efi/freebsd
# cp /boot/loader.efi /mnt/efi/freebsd/loader.efi
# efibootmgr -c -l /mnt/efi/freebsd/loader.efi -L FreeBSD
efibootmgr: Cannot translate unix loader path '\mnt\efi\freebsd\loader.efi' to
UEFI: No error: 0

If the ESP is mounted using a normal device path (e.g., /dev/ada0p1) then
everything works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list