bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

invalid or unsupported executable format


From: Erik Thiele
Subject: invalid or unsupported executable format
Date: Sat, 28 Apr 2001 15:59:22 +0200
User-agent: Mutt/1.3.17i

hi.

i attached a tar.gz file to this mail.
unpack it,
run the compile.sh script and insert a floppy disk before doing so.
before running it, edit it and fix the GRUB,STAGE1,STAGE2,MOUNTPOINT
variables, or insert a "exit" command after the objcopy command.

you will now have a "kernel" file. mbchk sais it is ok.
if you load it onto bootdisk with grub, then grub sais:
Error 13: invalid or unsupported executable format.

if you now edit "game.c"
and add a /* before   video_setcolor(10,255,0,0);
and a */ at the end of the game() function

recompile install, run, everything ok. you will see
colorful boxes centered into each other.

obviously as code size increases the kernel fails.

the kernel is based on the example multiboot compliant kernel in the
distribution of grub.

please help

cu&thx
Erik

-- 
Name:  Erik Thiele                                        \\\\
Email: address@hidden                                 o `QQ'_
WWW:   http://www.erikyyy.de/                              /   __8
                                                           '  `

Attachment: kern.tar.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]