From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Nczql-0000Ix-4p for mharc-grub-devel@gnu.org; Thu, 04 Feb 2010 06:26:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nczqi-0000IV-2e for grub-devel@gnu.org; Thu, 04 Feb 2010 06:26:16 -0500 Received: from [199.232.76.173] (port=57814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nczqh-0000IN-51 for grub-devel@gnu.org; Thu, 04 Feb 2010 06:26:15 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nczqg-0005ds-3D for grub-devel@gnu.org; Thu, 04 Feb 2010 06:26:15 -0500 Received: from aa.81.b6.static.xlhost.com ([207.182.129.170]:35550 helo=wombat.diezmil.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nczqf-0005da-F9 for grub-devel@gnu.org; Thu, 04 Feb 2010 06:26:13 -0500 Received: from wombat (wombat [127.0.0.1]) by wombat.diezmil.com (8.14.2/8.14.2) with ESMTP id o14BQAqf018350 for ; Thu, 4 Feb 2010 06:26:10 -0500 Date: Thu, 4 Feb 2010 06:26:10 -0500 From: gburanov@gmail.com To: grub-devel@gnu.org Message-ID: <27271057.01265282770941.JavaMail.root@wombat> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Search GPT partition in GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Thu, 04 Feb 2010 11:26:16 -0000 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