From owner-freebsd-hackers Mon Jul 8 14:40:17 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 D28E137B401 for ; Mon, 8 Jul 2002 14:40:10 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D21843E31 for ; Mon, 8 Jul 2002 14:40:10 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020708214009.SVNF903.sccrmhc03.attbi.com@InterJet.elischer.org>; Mon, 8 Jul 2002 21:40:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA30713; Mon, 8 Jul 2002 14:23:14 -0700 (PDT) Date: Mon, 8 Jul 2002 14:23:13 -0700 (PDT) From: Julian Elischer To: John Nielsen Cc: hackers@FreeBSD.ORG Subject: Re: offtopic: low level format of IDE drive. In-Reply-To: <017901c226c3$ef8b09a0$0900a8c0@max> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 this is not a 'reformat' what I want to do is an old-fashionned refomat/verify where the controller writes new track headers etc. On Mon, 8 Jul 2002, John Nielsen wrote: > 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