From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XYYkh-0007zI-LW for mharc-grub-devel@gnu.org; Mon, 29 Sep 2014 07:04:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYYke-0007yJ-Ql for grub-devel@gnu.org; Mon, 29 Sep 2014 07:04:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYYkd-0005mD-P1 for grub-devel@gnu.org; Mon, 29 Sep 2014 07:04:20 -0400 Received: from a.painless.aa.net.uk ([2001:8b0:0:30::51bb:1e33]:33575 helo=b.a.painless.aa.net.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYYkd-0005lg-J6 for grub-devel@gnu.org; Mon, 29 Sep 2014 07:04:19 -0400 Received: from 3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.1.b.e.2.f.f.b.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:bff2:eb14::3] helo=riva.pelham.vpn.ucam.org) by a.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1XYYkN-0000tq-Lc for grub-devel@gnu.org; Mon, 29 Sep 2014 12:04:13 +0100 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XYYkM-0002mt-Hx for grub-devel@gnu.org; Mon, 29 Sep 2014 12:04:02 +0100 Date: Mon, 29 Sep 2014 12:04:01 +0100 From: Colin Watson To: grub-devel@gnu.org Subject: Re: get partition by name Message-ID: <20140929110401.GA10711@riva.ucam.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:0:30::51bb:1e33 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Mon, 29 Sep 2014 11:04:22 -0000 On Mon, Sep 29, 2014 at 10:25:51AM +0200, Michael Zimmermann wrote: > currently GRUB allows selecting partitions by the partition number only - > like (hd0,11). > Sometimes - especially for embedded systems it would be useful to be able > to select them by the name define in the partition table. like: (hd0,boot) > or (hd0,rootfs). > > Are they any plans(or existing features which I missed) for this? Use the "search" command. https://www.gnu.org/software/grub/manual/grub.html#search -- Colin Watson [cjwatson@ubuntu.com]