Grub floppy boot disk

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
damonbrinkley

Grub floppy boot disk

Post by damonbrinkley »

I have a Grub floppy boot disk that works great for testing kernels but I have a question about the formats Grub can use. I've tried compiling to just binary and elf files on my own but I keep getting an Error 13: Invalid or unsupported executable format error when loading my kernel. I know this boot disk works because I've followed some tutorials and booted those kernels from this disk but can't seem to do it on my own. Are there any special compilations commands I need to use to make my kernel compatible with Grub? Thanks.
Whatever5k

Re:Grub floppy boot disk

Post by Whatever5k »

You need to built a multiboot header, have a look at http://osdev.berlios.de/grub.html for more informations...
damonbrinkley

Re:Grub floppy boot disk

Post by damonbrinkley »

Thanks!!! Everything is working now.
Post Reply