I want to build an OS, and I intend to use GRUB as a boot loader, but my problem is that I can find the documentation on what it requires from a kernel, and in what state it leaves the computer when it trasfer control to the kernel.
Can someone point me to where I can learn that?
GRUB Question
Re:GRUB Question
http://www.washingdishes.freeuk.com/gru ... ml#compile
i found this really helpful in the starting
hope this helps....
i found this really helpful in the starting
hope this helps....
Re:GRUB Question
It does help.
However, I've a question about the kernel itself.
I set it up as the page says, but when I try to boot from grub it tells me Error 13: File type not recognized.
$ objdump -a kernel.elf
kernel.elf: file format pei-i386
Is this OK?
However, I've a question about the kernel itself.
I set it up as the page says, but when I try to boot from grub it tells me Error 13: File type not recognized.
$ objdump -a kernel.elf
kernel.elf: file format pei-i386
Is this OK?
Re:GRUB Question
You posted this question in alt.os.development, didn't you ? Read my answer there
I think your linker script is wrong (do you have one)? I had the same problem, I forgot the .rodata section
I think your linker script is wrong (do you have one)? I had the same problem, I forgot the .rodata section