From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 08:44:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3339B16A4BF for ; Thu, 4 Sep 2003 08:44:01 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 517DE43FF2 for ; Thu, 4 Sep 2003 08:44:00 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h84FhrOg012847; Thu, 4 Sep 2003 11:43:53 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h84Fhq7L012846; Thu, 4 Sep 2003 11:43:52 -0400 (EDT) From: Jerry McAllister Message-Id: <200309041543.h84Fhq7L012846@clunix.cl.msu.edu> To: algould@datawok.com (Andrew L. Gould) Date: Thu, 4 Sep 2003 11:43:51 -0400 (EDT) In-Reply-To: <200309041041.11669.algould@datawok.com> from "Andrew L. Gould" at Sep 04, 2003 10:41:11 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Jerry McAllister cc: Paul Murphy cc: FreeBSD Questions Subject: Re: Undo MBR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 15:44:01 -0000 > > Actually, the first dd sometimes fails, if the disk has never had > > anything put on it. If so, just ignore it and go on with the fdisk. > > > > ////jerry > > If you have a bootable DOS disk with fdisk, you can clear the MBR without > destroying partitions by executing: > > fdisk /mbr You should be able to do something similar with FreeBSD fdisk and the corresponding switches/parameters, but the questioner said there was nothing to save on the disk and wanted to wipe it, so... ////jerry > > In my pre-FreeBSD days, I used to do this to clear LILO out after removing a > Linux installation so that it would boot to Windows. > > Best of luck, > > Andrew Gould > > > >