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: skenton@ou.edu
Subject: Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time
Date: Sat, 13 Aug 2016 21:40:17 +0300	[thread overview]
Message-ID: <d638a911-0114-2155-dbf0-2b94ff1d581b@gmail.com> (raw)
In-Reply-To: <57AF593D.4090608@gmail.com>

13.08.2016 20:30, adrian15 пишет:
> What's your use case?
> 

Well, this has been requested before and this is supported by Linux
kernel. So as long as this does not increase core modules size (i.e. is
done outside of partition probing core) I think it will be OK.

> adrian15
> 
> El 12/08/16 a las 16:11, Steve Kenton escribió:
>> As far as I can tell there is no search module that can be used to get
>> the partuuid at boot time given a grub root device such as (hd0,gtp1). I
>> think is would be a useful addition since the resulting partuuid could
>> be passed directly to the kernel as root=PARTUUID=xxx and it does not
>> seem like it should be hard to do. Am I missing something obvious? And,
>> before I jump end the deep end of the pool and try to write it, is
>> anyone else working on something similar?
>>

There was recent patch series that adds support for user-space
grub-probe. Would be good if implementation can be shared. I do not want
to add any special code to handle partitions UUID to core as this is
very special case of really one partition type only, used infrequently
and can be entirely handled by usual device iteration.

>> Not subscribed, please cc me on reply.
>>

Not sure why, but whatever reply I chose Thunderbird and Gmail only
reply to list.



  reply	other threads:[~2016-08-13 18:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 14:11 Grub module to return partuuid of a device such as (hd0, gpt1) at boot time Steve Kenton
2016-08-13 17:30 ` adrian15
2016-08-13 18:40   ` Andrei Borzenkov [this message]
2016-08-13 20:25     ` Steve Kenton
2016-08-14  7:13       ` Andrei Borzenkov
2016-08-14  9:09         ` Thomas Schmitt
2016-08-14 11:55           ` Andrei Borzenkov
2016-08-14 13:55             ` Thomas Schmitt
2016-08-14 15:44               ` Thomas Schmitt
2016-08-14 16:06                 ` Andrei Borzenkov
2016-08-14 18:24                   ` Thomas Schmitt
2016-08-14 16:05               ` Andrei Borzenkov
2016-08-14 12:32         ` Steve Kenton
2016-08-14 18:31           ` Adding partition guid/uuid to the probe command for use with Linux kernel command line root=PARTUUID=$guid Steve Kenton
2016-08-15  4:04             ` Andrei Borzenkov
2016-08-15  5:09               ` Steve Kenton
2016-08-14  4:12     ` Grub module to return partuuid of a device such as (hd0, gpt1) at boot time Michael Zimmermann
2016-08-14  6:42       ` Andrei Borzenkov
2016-08-13 20:30   ` Steve Kenton
  -- strict thread matches above, loose matches on Subject: below --
2016-08-15  2:43 Nick Vinson
2016-08-15  2:58 ` skenton
2016-08-15  3:47   ` Nick Vinson

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=d638a911-0114-2155-dbf0-2b94ff1d581b@gmail.com \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=skenton@ou.edu \
    /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).