From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NTMUm-0007p1-Fa for mharc-grub-devel@gnu.org; Fri, 08 Jan 2010 16:35:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTMUl-0007of-Cb for grub-devel@gnu.org; Fri, 08 Jan 2010 16:35:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTMUg-0007nY-Kk for grub-devel@gnu.org; Fri, 08 Jan 2010 16:35:46 -0500 Received: from [199.232.76.173] (port=37006 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTMUg-0007nO-EV for grub-devel@gnu.org; Fri, 08 Jan 2010 16:35:42 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:57627 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTMUf-0003uE-KG for grub-devel@gnu.org; Fri, 08 Jan 2010 16:35:41 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NTMUc-0005FM-4l for grub-devel@gnu.org; Fri, 08 Jan 2010 22:35:38 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NTMUb-0005t5-Jj for grub-devel@gnu.org; Fri, 08 Jan 2010 22:35:37 +0100 Date: Fri, 8 Jan 2010 22:35:37 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20100108213537.GA22519@thorin> References: <4B44D161.8040702@labri.fr> <20100107213604.GF26340@thorin> <4B467FE9.3040200@labri.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B467FE9.3040200@labri.fr> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Invalid symbol table on NetBSD boot X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 21:35:47 -0000 On Fri, Jan 08, 2010 at 01:44:25AM +0100, Grégoire Sutre wrote: > Robert Millan wrote: > >> I suggest you test if GRUB Legacy's Multiboot loader supports this >> properly, as the code I used derives from that. > > Yes, the problem disappears with GRUB Legacy's multiboot. Moreover, I > noticed another issue: the command line is stripped (first word missing) > with GRUB 2's multiboot. Here are the logs. After setting the root > variable appropriately, I get: > > --- With GRUB Legacy --------------------------------------------------- > grub> kernel /netbsd.generic -z root=wd0a > [...] > --- With GRUB 2 ------------------------------------------------------- > grub> multiboot /netbsd.generic -z root=wd0a There was an intentional backward-incompatible (but still compatible with the specification) change. The equivalent command on GRUB 2 would be: grub> multiboot /netbsd.generic /netbsd.generic -z root=wd0a First argument is the file being open; in GRUB Legacy it's implicitly also the first arg passed to payload, which is less flexible than letting user specify it. It doesn't have to be the filename at all, and usually the payload doesn't need this information. I'm not sure if this explains your missing word problem, but it sounds like it could be related. -- Robert Millan "Be the change you want to see in the world" -- Gandhi