A simple multiboot TestSuit but GRUB said NO!?
Posted: Wed Jan 31, 2007 2:14 pm
I wrote:
And compiled via nasm with : nasmw -fbin -o Helper Helper.ASM
while booting via GRUB 0.95 with : kernel --type=multiboot it just said :
Error 13: Invalid or Unsupported executable format
Why?
Code: Select all
BITS 32
ORG 0x100000
SECTION .text
jmp _RealStart
ALIGN 4
MultiBootHeader:
;Header Field
Magic DD 0x1BADB002
Flags DD 0x00000001
CheckSum DD -(0x1BADB002+0x00000001)
;Address Field
HeadAddr DD MultiBootHeader
LoadAddr DD 0x100000
LoadEndAddr DD 0x00000000
BssEndAddr DD 0x00000000
Entry DD _RealStart
_RealStart:
cli
hlt
while booting via GRUB 0.95 with : kernel --type=multiboot it just said :
Error 13: Invalid or Unsupported executable format
Why?