From owner-freebsd-questions@FreeBSD.ORG Sun May 21 01:57:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CB99516A422 for ; Sun, 21 May 2006 01:57:45 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 713BE43D45 for ; Sun, 21 May 2006 01:57:45 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (jn@ns1 [69.55.238.237]) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k4L1viQN001027; Sat, 20 May 2006 18:57:44 -0700 (PDT) (envelope-from lists@jnielsen.net) Received: (from www@localhost) by ns1.jnielsen.net (8.12.9p2/8.12.9/Submit) id k4L1viRe001026; Sat, 20 May 2006 21:57:44 -0400 (EDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: ns1.jnielsen.net: www set sender to lists@jnielsen.net using -f Received: from c-68-59-28-54.hsd1.sc.comcast.net (c-68-59-28-54.hsd1.sc.comcast.net [68.59.28.54]) by newwebmail.jnielsen.net (Horde MIME library) with HTTP; Sat, 20 May 2006 21:57:44 -0400 Message-ID: <20060520215744.9g32voga8ssc8s04@newwebmail.jnielsen.net> Date: Sat, 20 May 2006 21:57:44 -0400 From: John Nielsen To: Gary Kline References: <20060520234655.GA9962@thought.org> In-Reply-To: <20060520234655.GA9962@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-4.9 X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: FreeBSD Mailing List Subject: Re: cleaning off unix/linux???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 01:57:45 -0000 Quoting Gary Kline : > Gang, > > A 40G drive that I thought was bad (when trying to install W2K > on the drive) may be entirely good. I am trying to avoid having > to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu > on this one machine. For various reasons I need one DOS machine. > (Already have 7 or 8 *Nix servers.) The Windows 2000 > "Professional" CD find some other non-Windows partition and > press "D" and "L" as I will, the installation CD keeps > complaining. Eventually I have to hit F3 to quit. So, nutshell, > is there any way I can completely remove any trace of *Nix? > -----I remember having a DOS floppy and typing an undocumented > MBR \ command that wiped the drive clean of this boot record, > but this was [mumble] years ago. Boot to a recent FreeBSD Install CD (with the Rescue tools on disk 1) or a not-so-recent FreeBSD Rescue CD, and go to rescue mode. After verifying the device name of the drive you're trying to "clean" (using dmesg and/or fdisk), do this (I'm assuming a single drive, ad0): dd if=/dev/zero of=/dev/ad0 bs=32k count=1 That will overwrite the first 32k of the drive with zeroes. That should wipe out the MBR and the partition table. Since you want the drive to be "clean" anyway, it doesn't hurt to make the bs or count values higher. To zero out the entire drive, you could do this: dd if=/dev/zero of=/dev/ad0 bs=1m (With no "count" option it will write to the end of the device.) Doing any of this on a drive with data you care about is of course contraindicated. JN