Date: Thu, 28 Jun 2012 13:41:54 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Boris Samorodov <bsam@passap.ru> Cc: freebsd-current@freebsd.org Subject: Re: [CFC/CFT] large changes in the loader(8) code Message-ID: <4FEC26E2.7000206@yandex.ru> In-Reply-To: <4FEC21BA.5070606@passap.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FEC26E2.7000206>