Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2012 15:05:36 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [CFC/CFT] large changes in the loader(8) code
Message-ID:  <4FEC3A80.5070304@passap.ru>
In-Reply-To: <4FEC26E2.7000206@yandex.ru>
References:  <4FE9B01C.30306@yandex.ru> <201206261337.11741.jhb@freebsd.org> <4FEA910C.4090305@yandex.ru> <7E41D945-F6FA-48D5-ADDC-4884A7C7C0F8@xcllnt.net> <4FEB5EA1.7060903@yandex.ru> <4FEC21BA.5070606@passap.ru> <4FEC26E2.7000206@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
28.06.2012 13:41, Andrey V. Elsukov пишет:
> On 28.06.2012 13:19, Boris Samorodov wrote:
>> 27.06.2012 23:27, Andrey V. Elsukov пишет:
>>
>>> 1. You are against from:
>>> Our loader detects that primary GPT header is damaged. It tries to read
>>> backup GPT header from the last LBA and it detects that there is
>>> "GEOM::" signature. It tries to read one previous sector and there is
>>> *valid*  GPT header.
>>
>> Can we do the other way round? I.e. the GPT header is at the last sector. And if GEOM singature is
>> not found at last sector of the disk
>> and this sector is a GPT header then look at the previous sector?
>
> Then this sector contains GPT table.

OK, then place GEOM sector before GPT table.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FEC3A80.5070304>