Jason - Follow up on UEFI and Byhve

New About Yours API Help
998 bytes, Plain text
Gents,

I wanted to touch base on this issue, and let you know I sorted it out. While you could not directly leave me the answer, Allan did mention "I don't think Bhyve has a way to store EFI vars" ... which led to a tiny bit of investigation.

Simply put, Ubuntu/GRUB EFI does not follow the spec for EFI when it comes to default paths. I checked my Arch VM for the configuration I had there with systemd-boot (also known as gummiboot), and found that it followed spec and placed /EFI/BOOT/BOOTX64.efi in the ESP, and had no issues.

So my problem was _not_ that Bhyve was losing settings, but rather that it never had them in the first place, and GRUB had decided to behave in a way that didn't follow the standard behaviors. While this would normally work perfectly fine, due to the lack of viable configuration store for the EFI vars, it will not work out of the box.

Simple answer:
- mkdir -p /boot/efi/EFI/BOOT/
-  cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.efi
Pasted 4 months, 3 weeks ago — Expires in 224 days
URL: http://dpaste.com/2EP7BFC