All of lore.kernel.org
 help / color / mirror / Atom feed
From: gburanov@gmail.com
To: grub-devel@gnu.org
Subject: Search GPT partition in GRUB
Date: Thu, 4 Feb 2010 06:26:10 -0500	[thread overview]
Message-ID: <27271057.01265282770941.JavaMail.root@wombat> (raw)

Hello everybody.

I am currently trying to realize the following functionality: I want grub to load the kernel from GPT partition. I am using grub build for UEFI. So, I got following questions for now:

I don't want to use standart naming conversion, here are some reasons:

* It is not clear what is (hd1, 0). I understand that is means first partition on the first disk, but what is first disk on EFI? I know, for example, that you can easy change the order in BIOS (SCSI first or IDE first), but what about UEFI? What disk exactly is hd1, and what is hd2? Or that's platform specific?

* If it's platform specific, is there a way in live OS to obtain UEFI disk number, used by GRUB?

I am currently looking into "search" grub command, it seems it can search by filesystem UUID, but I want to load from NTFS. Do we have UUID on NTFS? Is UUID really unique? I guess no.

It would be ideal if we can search the GPT partition/disk by GUID - that's what we got NTFS GUID for =)

Do anybody know is it really possible?

Thanks in advance,
Georgy

--
This message was sent on behalf of gburanov@gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/grub-devel@gnu.org/topic.html



             reply	other threads:[~2010-02-04 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04 11:26 gburanov [this message]
2010-02-04 18:31 ` Search GPT partition in GRUB Colin Watson
2010-02-05 14:19   ` gburanov
2010-02-05 16:46   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-11  7:27     ` gburanov

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=27271057.01265282770941.JavaMail.root@wombat \
    --to=gburanov@gmail.com \
    --cc=grub-devel@gnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.