[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get partition by name
From: |
Andrei Borzenkov |
Subject: |
Re: get partition by name |
Date: |
Mon, 29 Sep 2014 21:40:32 +0400 |
В Mon, 29 Sep 2014 19:20:07 +0200
Michael Zimmermann <address@hidden> пишет:
> 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 <address@hidden> 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 address@hidden
> >
> > _______________________________________________
> > Grub-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >