From owner-freebsd-hackers@freebsd.org Tue Jan 31 15:43:20 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45984CC8655 for ; Tue, 31 Jan 2017 15:43:20 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B101941 for ; Tue, 31 Jan 2017 15:43:19 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v0VFhCZo044987; Tue, 31 Jan 2017 07:43:17 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v0VFh0Bl044986; Tue, 31 Jan 2017 07:43:00 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201701311543.v0VFh0Bl044986@pdx.rh.CN85.dnsmgr.net> Subject: Re: How to safely remove rest of GTP? In-Reply-To: To: Warren Block Date: Tue, 31 Jan 2017 07:43:00 -0800 (PST) CC: "Andrey V. Elsukov" , freebsd-hackers@freebsd.org, Slawa Olhovchenkov X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Tue, 31 Jan 2017 16:38:44 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 15:43:20 -0000 ... much deleted ... > > > It is impossible to have a corrupted GPT and some > > other type of partition table in the same time. I believe that statement is in error. dd if=/boot/boot0 of=/dev/ada0 Would not that lead to this very situation if done to a GPT parted disk drive? > Maybe when only using FreeBSD and gpart, but I'm pretty sure I've seen > forum users who have tried some crappy other formatting tool and have > overwritten the primary GPT with a valid MBR and left the secondary GPT > untouched. This only becomes obvious when they bring the disk back to a > FreeBSD system. As almost all MBR tools are un aware of GPT so well not do anything to destroy the secondary GPT, so this is infact very likely to occur. -- Rod Grimes rgrimes@freebsd.org