From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XYexy-00060c-4D for mharc-grub-devel@gnu.org; Mon, 29 Sep 2014 13:42:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYex9-0005vF-5C for grub-devel@gnu.org; Mon, 29 Sep 2014 13:42:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYewE-0000jC-HH for grub-devel@gnu.org; Mon, 29 Sep 2014 13:41:39 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:37131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYewD-0000c4-Lj for grub-devel@gnu.org; Mon, 29 Sep 2014 13:40:42 -0400 Received: by mail-la0-f53.google.com with SMTP id gq15so833231lab.12 for ; Mon, 29 Sep 2014 10:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=NtCd+B9sKxAQtxwy1CqIWhV4Y56vDFWC+mkAryAzy88=; b=OV9JFkLnoreDxI8Ppn0xUvpgi858uIOfukqVNRgXTwqOKaAHaHXgPOCpZjHRUEFeNn f4LHebSJXYm3C3g1C9CAVAxqwlX98oaLAh3fIHlZ8Ztfa1jfoFe/KrFpF7vlgfCg+rdg 2xT4pU2HTxknUDY9rJVEOyCPcJE5BFl+4h4Z4Voy5IJomtpY5zPjsYTRgMbvjxJ9jS83 K8GnI2xCuggGP9guHVavlM578JmKak4m0elIB636DJ9qBknbjstoEp5CpVO12Zu+ZVGN sunqqDjmrESJJXV9zOZPVORshpb/vu9VcPDWMMQkE0q6rHNBTikTRBTvF/70+zUzI0AV SqNg== X-Received: by 10.112.156.129 with SMTP id we1mr1232794lbb.88.1412012435095; Mon, 29 Sep 2014 10:40:35 -0700 (PDT) Received: from opensuse.site (ppp94-29-94-89.pppoe.spdop.ru. [94.29.94.89]) by mx.google.com with ESMTPSA id ll12sm5090505lac.45.2014.09.29.10.40.33 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 10:40:34 -0700 (PDT) Date: Mon, 29 Sep 2014 21:40:32 +0400 From: Andrei Borzenkov To: The development of GNU GRUB Subject: Re: get partition by name Message-ID: <20140929214032.5364e8f8@opensuse.site> In-Reply-To: References: <20140929110401.GA10711@riva.ucam.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.23; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 Cc: sigmaepsilon92@gmail.com 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 17:42:28 -0000 =D0=92 Mon, 29 Sep 2014 19:20:07 +0200 Michael Zimmermann =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > as it seems this commands looks for some filesystem specific label only. > What I need is the partition name set in the GPT/MBR partition table. Please explain where name is set in MBR partition table. >=20 > On Mon, Sep 29, 2014 at 1:04 PM, Colin Watson wrote: >=20 > > On Mon, Sep 29, 2014 at 10:25:51AM +0200, Michael Zimmermann wrote: > > > currently GRUB allows selecting partitions by the partition number on= ly - > > > 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] > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >