How to safely remove rest of GTP?

Andrey V. Elsukov bu7cher at yandex.ru
Tue Jan 31 21:08:18 UTC 2017


On 31.01.2017 23:58, Rodney W. Grimes wrote:
>> No, it will not lead to this situation.
>> /boot/boot0 is similar to /boot/mbr in the example, and with /dev/ada0
>> all will behaves like with /dev/md0.
>
> Well if that is the case then the GPT backup copy is... well useless as
> I just clobbered the MBR of a drive and now gpart is gona just take that
> as fine and dandy?
>
> Doesnt that defeat the purpose of the backup GPT?

When you overwrite PMBR with MBR, you get MBR, but the GPT is still 
here. If you need to recover your GPT, you need to put PMBR back (or 
just destroy MBR with `gpart destroy`), and GPT will be detected again. 
Even if you have overwritten GPT primary header and GPT primary table, 
backup header and table give a chance for recovery to you.

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-hackers mailing list