Page 1 of 1

Grub and Binary Executable Format

Posted: Fri Jun 20, 2003 11:00 pm
by IntEter
Hello.

I'm trying to have Grub run a kernel that has been compiled with the '--oformat binary' option. When I'm doing the kernel=(hd0,5)... stuff, it says that the executable format isn't recognised. What should I do?

Thanks,

RE:Grub and Binary Executable Format

Posted: Fri Jun 20, 2003 11:00 pm
by mikeleany
I would make sure that the multiboot header is setup right (and specifies all your addresses correctly), and that it's in the first 8192 bytes of the image. As long as you specify the load addresses, I think grub will load binary kernels.