grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: sigmaepsilon92@gmail.com
Subject: Re: get partition by name
Date: Mon, 29 Sep 2014 21:40:32 +0400	[thread overview]
Message-ID: <20140929214032.5364e8f8@opensuse.site> (raw)
In-Reply-To: <CAN9vWD+VbyKV_Qi609W+0QZ_aXS6p55xeHJ+uEq011Aaht5LSQ@mail.gmail.com>

В Mon, 29 Sep 2014 19:20:07 +0200
Michael Zimmermann <sigmaepsilon92@gmail.com> пишет:

> 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.

> 
> On Mon, Sep 29, 2014 at 1:04 PM, Colin Watson <cjwatson@ubuntu.com> wrote:
> 
> > 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]
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >



      reply	other threads:[~2014-09-29 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29  8:25 get partition by name Michael Zimmermann
2014-09-29 11:04 ` Colin Watson
2014-09-29 17:20   ` Michael Zimmermann
2014-09-29 17:40     ` Andrei Borzenkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140929214032.5364e8f8@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=sigmaepsilon92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).