Page 1 of 1

Grub floppy boot disk

Posted: Wed Feb 12, 2003 8:42 am
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.

Re:Grub floppy boot disk

Posted: Wed Feb 12, 2003 8:48 am
by Whatever5k
You need to built a multiboot header, have a look at http://osdev.berlios.de/grub.html for more informations...

Re:Grub floppy boot disk

Posted: Wed Feb 12, 2003 12:31 pm
by damonbrinkley
Thanks!!! Everything is working now.