bug-grub
[Top][All Lists]
Advanced

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

Re: invalid or unsupported executable format


From: Erik Thiele
Subject: Re: invalid or unsupported executable format
Date: Sat, 28 Apr 2001 16:35:56 +0200
User-agent: Mutt/1.3.17i

sorry, please patch compile.sh first:

gcc $LDFLAGS -o kernel.exec boot.o kernel.o keyboard.o video.o game.o

the boot.o must come first....

but then my bug report will work.

cu
erik

On Sat, Apr 28, 2001 at 03:59:22PM +0200, Erik Thiele wrote:
> 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
>                                                            '  `


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



reply via email to

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