From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ht6jw-0002aO-Uz for mharc-grub-devel@gnu.org; Tue, 29 May 2007 14:48:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ht6jv-0002a6-13 for grub-devel@gnu.org; Tue, 29 May 2007 14:48:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ht6jt-0002Ze-HP for grub-devel@gnu.org; Tue, 29 May 2007 14:48:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ht6jt-0002Za-Ep for grub-devel@gnu.org; Tue, 29 May 2007 14:48:13 -0400 Received: from smtp.freemail.gr ([81.171.104.107]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ht6js-0006Z2-U9 for grub-devel@gnu.org; Tue, 29 May 2007 14:48:13 -0400 Received: from [192.168.1.35] (athedsl-10820.home.otenet.gr [87.202.42.152]) by smtp.freemail.gr (Postfix) with ESMTP id 91CFDA08408 for ; Tue, 29 May 2007 21:48:10 +0300 (EEST) Message-ID: <465C756E.8000506@freemail.gr> Date: Tue, 29 May 2007 21:48:14 +0300 From: Constantine Kousoulos User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: multiboot header error X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:48:15 -0000 After successfully installing GRUB2 from cvs (thanks Jerone!), i decided to further test it on my amd64 machine. At first, i built the sample kernel from http://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Example-OS-code using the '-m32' gcc flag and by marking boot.S with the '.code32' directive. All these effectively created an elf32 image on my amd64 machine which built and booted without any trouble. :) Then i proceeded to check if i can make GRUB2 boot the same kernel as a native elf64 image. So, i removed the above mentioned flag and directive, renamed any 'pushl' instruction to 'pushq', renamed registers 'eax' to 'rex' and 'ebx' to 'rbx', modified the magic number (0xe85250d6) and alingned it to 64-bits. When i tried to boot it i got: "error: No multiboot header found". :( Is there something i did or didn't do correctly? I would greatly appreciate any feedback! Thanks, Constantine