From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GmEaK-0002QT-Az for mharc-grub-devel@gnu.org; Mon, 20 Nov 2006 14:13:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmEaI-0002Nt-M3 for grub-devel@gnu.org; Mon, 20 Nov 2006 14:13:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmEaG-0002K0-Vu for grub-devel@gnu.org; Mon, 20 Nov 2006 14:13:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmEaG-0002JX-Db for grub-devel@gnu.org; Mon, 20 Nov 2006 14:13:36 -0500 Received: from [32.97.182.143] (helo=e3.ny.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmEaF-0001P9-An for grub-devel@gnu.org; Mon, 20 Nov 2006 14:13:35 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e3.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kAKJDXE3030480 for ; Mon, 20 Nov 2006 14:13:33 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kAKJDOoZ034098 for ; Mon, 20 Nov 2006 14:13:30 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kAKJDO5E021450 for ; Mon, 20 Nov 2006 14:13:24 -0500 Received: from [9.53.41.42] (basalt.austin.ibm.com [9.53.41.42]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kAKJDOvm021434 for ; Mon, 20 Nov 2006 14:13:24 -0500 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <20061119165507.GA2854@saphi> References: <1163797845.20484.20.camel@basalt> <3a73d3420611190226k23254d59vd3e6acb189a585be@mail.gmail.com> <20061119165507.GA2854@saphi> Content-Type: text/plain Date: Mon, 20 Nov 2006 13:13:07 -0600 Message-Id: <1164049987.32262.47.camel@basalt> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Subject: Re: multiboot2: remove "a.out kludge" requirement 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: Mon, 20 Nov 2006 19:13:39 -0000 On Sun, 2006-11-19 at 17:55 +0100, Tristan Gingold wrote: > On Sun, Nov 19, 2006 at 10:26:54AM +0000, Brano Zarnovican wrote: > > On 11/17/06, Andrei E. Warkentin wrote: > > > > > >How about having a custom e_type for ELF images booted by GRUB? Something > > >in > > > > Guys at Xen solved it nicely with custom ELF section. Somewhere in > > your OS code you create a section with specific name, bootloader will > > be looking for. For multiboot it might look like: > > > > .section __multiboot_v2 > > .long MAGIC_THIS > > .long FLAGS_THAT > > > But using notes make it almost impossible to use a compressed image. > (This is almost a requirement for ia64, but I also think ia64 does not > require these flags). I don't see how. GRUB must already extract .elf.gz files to read the ELF header to load the executable. -Hollis