From owner-freebsd-hackers Mon Jul 8 14:10:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1121B37B400 for ; Mon, 8 Jul 2002 14:10:48 -0700 (PDT) Received: from smurf.jnielsen.net (12-254-136-47.client.attbi.com [12.254.136.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B2D43E09 for ; Mon, 8 Jul 2002 14:10:47 -0700 (PDT) (envelope-from hackers@jnielsen.net) Received: from max (max.local [192.168.0.9]) by smurf.jnielsen.net (8.12.3/8.12.3) with SMTP id g68LAchP001458; Mon, 8 Jul 2002 15:10:38 -0600 (MDT) (envelope-from hackers@jnielsen.net) Message-ID: <017901c226c3$ef8b09a0$0900a8c0@max> From: "John Nielsen" To: "Julian Elischer" , References: Subject: Re: offtopic: low level format of IDE drive. Date: Mon, 8 Jul 2002 15:10:49 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian Elischer wrote: > One of my FreeBSD development boxes had a hernia last week when it lost > power while writing to disk. The drive wrote out garbage to a track. > > I want to reformat the drive, (low level) but the bios doesn't have any > support to do this (In the past That is how I did this). > The machiine has 1 CD drive and no floppy.. > > anyone with any ideas as to how one can reformat a hard drive feel free to > lend me a clue.. Boot from a fixit CD, and use dd to zero out the whole disk, e.g.: dd if=/dev/zero of=/dev/ad0c JN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message