I have been struggling with booting Debian 12 under CORE for awhile.
The boot process would get stuck in the UEFI shell and needed a few commands to boot /boot/efi/EFI/debian/grubx64.efi
Trying to add the location via efibootmgr didn’t work.
Does bhyve as shipped in TrueNAS Core support EFI variables yet? It did not last time I checked, which was a few years ago. Therefore it was necessary that whatever executable is to be booted be in the default path, with the default name, as the boot order does not persist across VM restarts.
This was my experience also. Graphics were garbled until i changed resolution to 1024×768 or 800×600, i don’t remember which (just for installation). Aside from that, there wasnt any other issue.
I just uploaded debian12 (amd64), changed the resolution to 800x600, and it ran through the graphical installer just fine. Aside from the VNC mouse bug of course.