[Bug 278984] Debian 12 won't boot in UEFI mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 May 2024 16:22:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278984

            Bug ID: 278984
           Summary: Debian 12 won't boot in UEFI mode
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: konstantin.t.i@ya.ru

Hi.
If you install Debian 12 on bhyve from an iso image in UEFI mode, you will
notice that the grub boot loader will not be found.

To fix this you need to do the following:
mkdir /boot/efi/EFI/BOOT/
# copy file - workaround for bhyve grub package #
# Pay attention to destination file bootx64.efi #
cp /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi

Taken here:
https://www.cyberciti.biz/faq/how-to-install-linux-vm-on-freebsd-using-bhyve-and-zfs/

I suggest fixing bhyve so that it tries to load not only
/boot/efi/EFI/BOOT/bootx64.efi, but also /boot/efi/EFI/debian/grubx64.efi.

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