Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JlECw-0001Ej-SY for mharc-grub-devel@gnu.org; Sun, 13 Apr 2008 22:14:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlECt-0001Ah-3X for grub-devel@gnu.org; Sun, 13 Apr 2008 22:14:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlECl-000140-CD for grub-devel@gnu.org; Sun, 13 Apr 2008 22:14:04 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlECk-00013B-FO for grub-devel@gnu.org; Sun, 13 Apr 2008 22:13:58 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JlECk-00073q-6X for grub-devel@gnu.org; Sun, 13 Apr 2008 22:13:58 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 13 Apr 2008 22:13:56 -0400 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 5D849619058 for ; Sun, 13 Apr 2008 22:13:55 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: Content-Type: text/plain Date: Sun, 13 Apr 2008 22:13:54 -0400 Message-Id: <1208139234.5319.44.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: GRUB2 and Multiboot? 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, 14 Apr 2008 02:14:07 -0000 On Fri, 2008-04-11 at 13:55 -0600, Julian Salazar wrote: > Hello, > > I've got some questions about GRUB2 relating to the Multiboot Draft: > > It seems like GRUB2 passes the start tag with a key of 1, bootloader name > with a key of 2, etc. > But the Multiboot draft says that the start tag has a key of 0, bootloader > name has a key of 1, etc. > Which one is right? One or the other has to be changed... You may get a better answer if you quote the specification (and where you found it) and the piece of code that appears wrong to you. I looked into multiboot.texi in GRUB 1 CVS, and I don't see the word "tag" there. > Suggestions: > I think that the multiboot tags should be explicitly (in the multiboot spec) > passed in order (i.e. that a tag with a key of 5 should always go before one > with a key of 7) Maybe a bootloader should give an x86-64 kernel the option > to either boot it into 32 or 64 bit mode? Or is that asking for too much? I don't think having a dual-mode kernel would be a good idea. Either it would be two kernels glued together, or it would be essentially a 32-bit kernel with option 64-bit extensions - hardly a good idea for a kernel. And in the later case, it would be better to use a parameter, like "enable-64bit". Or maybe you mean that the kernel should tell the bootloader whether the control should be passed to it in the 64-bit mode? -- Regards, Pavel Roskin