Hello again ;D
When I try to load my OS using GRUB, it says:
Error 13: Invalid or unsupported executable format
Does there has to be some code(multiboot header) in my kernel? If it does, what code does there has to be? I'm using NASM for my kernel.asm, and from kernel.asm I jump to C code(kernel.c).
And does my linker file(ld) will has to be changed as well?
Thanks
GRUB
Re:GRUB
Please read the Multiboot specification, then check the FAQ Wiki, especially the page "Bare Bones".
Every good solution is obvious once you've found it.
Re:GRUB
The point of the a.out kludge (or multiboot header) is that you can boot any file type, not just those known by whatever your boot loader is.Nelson wrote: You are using an executable format not accepted by grub. Try the ELF format or a.out using the aout kludge.