Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 21:24:18 -0400 (EDT)
From:      "James C. Durham" <durham@sludge.pgh.pa.us>
To:        jason@intercom.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: duplicating a bad HDD
Message-ID:  <Pine.BSF.3.96.990830212104.14086A-100000@sludge.pgh.pa.us>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990830212104.14086A-100000>