From owner-freebsd-questions Mon Aug 30 18:24:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sludge.pgh.pa.us (sludge.pgh.pa.us [206.210.78.220]) by hub.freebsd.org (Postfix) with ESMTP id C6C5915175 for ; Mon, 30 Aug 1999 18:24:24 -0700 (PDT) (envelope-from durham@sludge.pgh.pa.us) Received: from localhost (durham@localhost) by sludge.pgh.pa.us (8.8.8/8.8.8) with SMTP id VAA14128; Mon, 30 Aug 1999 21:24:21 -0400 (EDT) (envelope-from durham@sludge.pgh.pa.us) Date: Mon, 30 Aug 1999 21:24:18 -0400 (EDT) From: "James C. Durham" To: jason@intercom.com Cc: freebsd-questions@freebsd.org Subject: Re: duplicating a bad HDD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jason@intercom.com wrote: >I have a machine that has a bad IDE HDD. Fortunately, the IDE feature >SMART >realized this. >It is currently my boot drive. What I would like to to is back it up and >restore it onto >a new drive. How can I make an exact copy, including boot blocks and >everything? I am assuming >using dd, but can anyone give me an example? Assuming that the first drive is wd0 and the second is wd1.... dd if=/dev/wd0 of=/dev/wd1 bs=4096 -Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message