From owner-freebsd-geom@FreeBSD.ORG Mon May 5 01:34:04 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0661B8F8 for ; Mon, 5 May 2014 01:34:04 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D56431795 for ; Mon, 5 May 2014 01:34:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=UD8iE/0Bts1zq8lCX3IimGLT35mcxLxLpGwk/YBGHbE=; b=c9vJ5/ptgvD7tOjrpUqRPi7L9Wrpr9HRaHFhUeDAeC7duSRfFT7jJo7qF1AA7wWMPKfFlqprCTKz0+lmJUgCfGNqVOxj4P5ogJEJXT8cNtQBTjxhrVlkgtcc/L3CG7/P9rjc40ha5LsbcNxIRku9CTA1fM24h4H/MVaFr3Gp3Vg=; Received: from [182.10.137.14] (port=35833 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1Wh7n7-001sCy-Nw; Sun, 04 May 2014 19:34:02 -0600 Date: Mon, 5 May 2014 09:33:56 +0800 From: Erich Dollansky To: Andrew Berg Subject: Re: Recreating a GPT Message-ID: <20140505093356.302a6791@X220.alogt.com> In-Reply-To: <5366CC63.4000001@my.hennepintech.edu> References: <5366CC63.4000001@my.hennepintech.edu> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 01:34:04 -0000 Hi, On Sun, 4 May 2014 18:25:23 -0500 Andrew Berg wrote: > Sorry if this is the wrong list; I have seen discussions regarding it is the right list if you will get the right answer. > I destroyed a GPT ('gpart destroy -F ada0') and then ended up needing You have read already some possible solution. Allow me to tell you mine after a hardware failure led to a damaged partitioning schema on one of my disks. I really have had to go down to a hex editor an recreate the entries. The sad part on this was that the source code is the only reliable source of information here. As you have a second disk which is at least similar, you can compare the individual sectors starting from the boot sector and change them when needed. Of course, do this only when all other methods have failed. Erich