*BSD News Article 74021


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!main.Germany.EU.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Copying Hard Disks
Date: 17 Jul 1996 13:31:43 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <4sipvv$3tl@uriah.heep.sax.de>
References: <31EC473A.6575@hybrid.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Kenneth Coley <coley@hybrid.com> wrote:

> About six to ten months ago, I had a formula for
> copying one IDE hard drive to another using dd.
> I don't seem to be able to reproduce it.  Can 
> anyone tell me how to do this again.  By the way,
> the drives have both dos and freebsd partitions on
> them.

If both drives are identical (or the second one is larger, but you
don't care and only intend to use the same amount of space as on the
first one):

	dd if=/dev/rwd0 of=/dev/rwd1 bs=64k

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)