Grub 13 Error
Posted: Wed Nov 22, 2006 10:37 am
Hi,
I'm just trying to make a real simple OS for fun. I'm following the tutorial on that's at http://www.osdever.net/bkerndev/index.php?the_id=90. I'm to the section titled "Printing onscreen". I compiled the kernel and wrote the grub image download from the tutorial to a floppy. With dd if=dev_kernel_grub_image of=/dev/fd0. All went fine. I then tried the floppy in my computer and all went well. So then I copied my kernel.bin over the kernel.bin on the floppy. I then got the "Error 13: Invalid or unsupported executable format" error. So then I copied the authors link.ld and start.asm over mine to make sure I didn't type anything wrong in. I rebuilt the kernel and the same thing happened. I hope that was enough information. Where do you think I went wrong? What would be the best way to find out what's wrong? Any tips or help would be great.
Thanks.
I'm just trying to make a real simple OS for fun. I'm following the tutorial on that's at http://www.osdever.net/bkerndev/index.php?the_id=90. I'm to the section titled "Printing onscreen". I compiled the kernel and wrote the grub image download from the tutorial to a floppy. With dd if=dev_kernel_grub_image of=/dev/fd0. All went fine. I then tried the floppy in my computer and all went well. So then I copied my kernel.bin over the kernel.bin on the floppy. I then got the "Error 13: Invalid or unsupported executable format" error. So then I copied the authors link.ld and start.asm over mine to make sure I didn't type anything wrong in. I rebuilt the kernel and the same thing happened. I hope that was enough information. Where do you think I went wrong? What would be the best way to find out what's wrong? Any tips or help would be great.
Thanks.