[Bug 269564] efibootmgr -E not working any more

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Feb 2023 08:27:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269564

            Bug ID: 269564
           Summary: efibootmgr -E not working any more
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: corvink@FreeBSD.org

FreeBSD 13.2 uses /dev/gpt/efiboot0 instead of /dev/ada0p1 to mount the efi
partition. For that reason, efibootmgr -E does not work correctly:
```
root@ ~# mount
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
/dev/gpt/efiboot0 on /boot/efi (msdosfs, local)
zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot on /zroot (zfs, local, noatime, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
zroot/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
root@ ~# efibootmgr -E -p
efibootmgr: Can't find where ada0p1:/EFI/BOOT/BOOTX64.EFI is mounted
```

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