On 20.02.2011 22:20, Marco Steinbach wrote:
> gpart restore seems to hang upon restoring the secondary GPT table on a
> drive formerly used as startup and system disc in a Mac OSX system.
> 
> Oddly, I was already able to mount the drive and back up data to it
> before, where I simply ignored the warning (which I'm not exactly proud
> of now), disklabeled and newfs'ed the drive and went on.
> 
> The backed up data is of no importance, and I could probably simply dd
> out the gpt data, but I tried gpart restore, which simply sits (see
> truss output) and seems to wait.
> 
> I'm in a position of being able to try and test this with different
> revisions, if someone wants me to.

To recover corrupted GPT you should use `gpart recover` command.

-- 
WBR, Andrey V. Elsukov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to