So I've spent a couple days struggling with this, but I finally found an answer that helped.
tl;dr If you're developing in an OS that has been booted on an EFI system, grub-mkrescue assumes you want your image to have the EFI protections as well. In that case, you'll see a message about failing to boot from CDROM, specifically code 0009. In that case, you need to install grub-pc-bin and update your Makefile so the grub-mkrescue line looks like:
So I've spent a couple days struggling with this, but I finally found an answer that helped.
tl;dr If you're developing in an OS that has been booted on an EFI system,
grub-mkrescue
assumes you want your image to have the EFI protections as well. In that case, you'll see a message about failing to boot from CDROM, specificallycode 0009
. In that case, you need to installgrub-pc-bin
and update your Makefile so thegrub-mkrescue
line looks like:Cheers!