K 10 svn:author V 2 ae K 8 svn:date V 27 2012-06-20T08:29:24.848541Z K 7 svn:log V 612 In case when we have damaged several first sectors, GEOM_PART_GPT class will not detect GPT even if backup GPT header is ok. To recover we should write PMBR to the LBA 0. But we can't use `gpart bootcode` command until GPT is detected and geom created. We can dd(8) /boot/pmbr image and kernel will be able detect GPT. But our PMBR image contains only empty partition entries and our loader can't detect GPT when it hasn't the partition record with type PMBR. Add one partition record to the PMBR image. It covers all space after the LBA 0. It is better to have one partially correct record, than have nothing. END