Time to ask my first-ever question here.
At some point in past, I used to have my kernel Just Work (TM) with GRUB2; it still does with GRUB Legacy, but I want [VBE] framebuffer graphics.
The first problem I noticed is that
grub-mkrescue -o cd.iso cdimg/
builds bogus, unbootable images. The latest version I've tried builds an okay text-mode image if I copy my kernel to the root of the image source directory and call it efi.img (otherwise, xorriso fails due to missing efi.img).
I suppose the real question here is if GRUB2 is even supposed to work with non-EFI systems? :( As far as I know, my framebuffer initialisation and filling the screen with white are the exact same code that used to work with some earlier version of GRUB2 before.
Thanks in advance,
Vendu
P.S. FWIW, the OS project is at https://github.com/vendu/OS-Zero/
P.P.S. I hope this isn't all too vague... :)