From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Glpu3-0002iA-QI for mharc-grub-devel@gnu.org; Sun, 19 Nov 2006 11:52:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Glpu1-0002gf-O4 for grub-devel@gnu.org; Sun, 19 Nov 2006 11:52:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Glptz-0002eX-0m for grub-devel@gnu.org; Sun, 19 Nov 2006 11:52:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Glpty-0002eM-Jz for grub-devel@gnu.org; Sun, 19 Nov 2006 11:52:18 -0500 Received: from [212.27.42.30] (helo=smtp4-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Glpty-00086s-HP for grub-devel@gnu.org; Sun, 19 Nov 2006 11:52:18 -0500 Received: from saphi (boi78-1-82-232-198-173.fbx.proxad.net [82.232.198.173]) by smtp4-g19.free.fr (Postfix) with ESMTP id 0A93488D0 for ; Sun, 19 Nov 2006 17:52:17 +0100 (CET) Received: from gingold by saphi with local (Exim 3.36 #1 (Debian)) id 1Glpwh-0000kE-00 for ; Sun, 19 Nov 2006 17:55:07 +0100 Date: Sun, 19 Nov 2006 17:55:07 +0100 To: The development of GRUB 2 Message-ID: <20061119165507.GA2854@saphi> References: <1163797845.20484.20.camel@basalt> <3a73d3420611190226k23254d59vd3e6acb189a585be@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a73d3420611190226k23254d59vd3e6acb189a585be@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Tristan Gingold 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: Sun, 19 Nov 2006 16:52:22 -0000 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 > > Header position is exactly defined in ELF which Grub already speaks. > It does not need to be in first 8kB. The downside is that it will make > multiboot ELF-only. > > Oh. Did I mention that you can have more than one header in a single image ? > (for non-compatible multiboot versions ;) 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). Tristan.