Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 10:59:48 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        Lister <lister@kawashti.org>, Marcel Moolenaar <marcel@freebsd.org>, Andriy Gapon <avg@icyb.net.ua>, freebsd-geom@freebsd.org
Subject:   Re: OCE and GPT
Message-ID:  <75798832-C041-4796-8C10-5BE61FB7583A@mac.com>
In-Reply-To: <50691271872096@web136.yandex.ru>
References:  <B814515407B5445092FD63116EA3DA6B@neo> <4BCEE9E2.6010007@yandex.ru> <4BCEEC66.1080804@yandex.ru> <4BCEEF06.8010203@icyb.net.ua> <4BCEF5F8.6090102@yandex.ru> <4BCF04C7.1050701@icyb.net.ua> <50691271872096@web136.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 21, 2010, at 10:48 AM, Andrey V. Elsukov wrote:

> 21.04.10, 16:59, Andriy Gapon:
> 
>>> providers withing scheme. But with GPT we have problem, after
>>> booting with bigger media size the second partition table will
>>> be lost. And GPT will be broken.
>> 
>> Why?
>> Do we have it hardcoded where to look for the secondary GPT?
> 
> Yes. Current implementation does search for second GPT table only at last LBA.
> And it violates with UEFI 2.3 specification.

No, it's ACCORDING to the specification:

UEFI version 2.3, page 99 (paragraph 5.3.1):
"Two GPT Header structures are stored on the device: the primary and the
 backup. The primary GPT Header must be located in LBA 1 (i.e., the second
 logical block), and the backup GPT Header must be located in the last LBA
 of the device."

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75798832-C041-4796-8C10-5BE61FB7583A>