From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DNFfI-0007EI-7P for mharc-grub-devel@gnu.org; Sun, 17 Apr 2005 15:42:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNFfB-0007BF-8y for grub-devel@gnu.org; Sun, 17 Apr 2005 15:42:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNFf7-00079J-EW for grub-devel@gnu.org; Sun, 17 Apr 2005 15:42:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNFf7-00078Y-8v for grub-devel@gnu.org; Sun, 17 Apr 2005 15:42:33 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNFeo-0003zI-SY for grub-devel@gnu.org; Sun, 17 Apr 2005 15:42:15 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 5FF3D9C04 for ; Sun, 17 Apr 2005 21:38:18 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 01683-08 for ; Sun, 17 Apr 2005 21:38:16 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id D88739BFA for ; Sun, 17 Apr 2005 21:38:16 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id A39E7C04A for ; Sun, 17 Apr 2005 21:38:16 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050417183350.GA30191@miracle> From: Marco Gerards Date: Sun, 17 Apr 2005 21:38:16 +0200 In-Reply-To: <20050417183350.GA30191@miracle> (Hollis Blanchard's message of "Sun, 17 Apr 2005 13:33:50 -0500") Message-ID: <87r7h96vo7.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: [patch] set prefix on PPC 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, 17 Apr 2005 19:42:42 -0000 Hollis Blanchard writes: > Updated patch which uses devaliases. On my pegasos the devalias is looked up perfectly for both ethernet and the harddisk. :) > + if (partition) > + { > + unsigned int partno = grub_strtoul (partition, 0, 0); > + partno--; /* GRUB partition numbering is 0-based. */ On my pegasos the partition numbering is 0-based as well. So when I run `boot hd:4 grub2', I get `prefix=(hd,3)'. This should be `prefix=(hd,4)'. So my pegasos has proven me right already about what I said about firmware. :-/ Thanks, Marco