Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2013 07:25:09 +0700
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Bob Willcox <bob@immure.com>
Cc:        questions list <freebsd-questions@freebsd.org>
Subject:   Re: Safe way to repair corrupted GPT partition table?
Message-ID:  <20130119072509.2579dcce@X220.ovitrap.com>
In-Reply-To: <20130118200824.GA4084@rancor.immure.com>
References:  <20130118200824.GA4084@rancor.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, 18 Jan 2013 14:08:25 -0600
Bob Willcox <bob@immure.com> wrote:

> Is there a way to repair a GPT partition table that has gotten
> corrupted (following a system hang during heavy I/O to a ZFS
> filesystem)?
> 
I would use a hex editor. Of course, try it out on another disk before
working on that disk. You can even copy the data with dd from the other
disk after you are sure it will work. Of course, the size must match or
must be made matching.

Ok, it is not a safe way but it is a working way.

Erich



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