Solved I broke 11.0-BETA2 UEFI/ZFS Root boot


I've been tracking 11.0 through BETA2 and I somehow broke UEFI booting on my ZFS pool. Last week I did a source upgrade from BETA1 to BETA2. I'm not sure if this broke it, or not:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

However, upon a reboot I now get "Missing Boot Loader".

I have created an 11.0-BETA2 bootable memstick and have booted successfully to the USB stick. Unfortunately, I'm unfamiliar with how UEFI booting/partitioning works and what to do to fix it. There's not a lot on the forums or mailing list.

Here's what gpart show gives me:

=>       40  976773088  ada0  GPT  (466G)
         40       1600     1  efi  (800K)
       1640        408        - free -  (204K)
       2048    4194304     2  freebsd-swap  (2.0G)
    4196352  972576768     3  freebsd-zfs  (464G)
  976773120          8        - free -  (4.0K)

I'm quite grateful for any assistance.