Grub and Binary Executable Format

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
IntEter

Grub and Binary Executable Format

Post 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,
mikeleany

RE:Grub and Binary Executable Format

Post 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.
Post Reply