From owner-freebsd-questions Sun Jan 28 6:25:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id D5AEF37B400 for ; Sun, 28 Jan 2001 06:25:24 -0800 (PST) Received: from wp2 (localhost.ipform.ru [127.0.0.1]) by osiris.ipform.ru (8.11.1/8.11.1) with SMTP id f0SEP9450590; Sun, 28 Jan 2001 17:25:10 +0300 (MSK) (envelope-from matrix@ipform.ru) Message-ID: <00b601c08936$1fd584a0$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: "Conrad Sabatier" , "Joseph Gao" Cc: References: Subject: Re: Date: Sun, 28 Jan 2001 17:25:08 +0300 Organization: IP Form 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 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wonder why no just try: cat /dev/ad0 > /dev/ad1 ? I recall doing this way a mirror copy of FBSD 2.2.8 back in 1997 :) A Millenium ago :) As I recall it worked. ----- Original Message ----- From: "Conrad Sabatier" To: "Joseph Gao" Cc: Sent: Sunday, January 28, 2001 5:11 PM Subject: RE: > > On 28-Jan-01 Joseph Gao wrote: > > > > On 27-Jan-01 Joseph Gao wrote: > >> Dear Sir/Madame: > >> I am in London and am in desperate need for help. I need to be able to copy > >> the entire contents of an older hard disk onto a newer one (including > >> non-window operating system). I would be deeply indebted if you could > >> enlighten me on how to do this, as soon as possible. If it is out of your > >> capacity, I'm sorry for troubling you and would like to thank you for taking > >> time to read this. > > > > man dd > > I know, the man page can be rather overwhelming. :-) > > dd is a very low-level copy program. I think the name stands for "disc > duplicator" or "data duplicator" or something like that. dd will copy > *everything* from the input device to the output device, at the byte/sector > level. The basic syntax is very simple: > > dd if=device of=device > > Where "if" is the input and "of" is the output. Data is copied in 512-byte > blocks by default, which is perfect for FreeBSD, since this is how data is > stored at the lowest level. Also, by default, the copying begins with sector > zero and ends with the last sector on the input device. A complete copy, in > other words. > > Let's say you want to copy your first master disc to your first slave disc (ad0 > to ad1): > > dd if=/dev/ad0 of=/dev/ad1 > > You should probably format the output device first, if it hasn't been already. > Of course, you'll want to be root to do all of this. > > I'm *assuming* you're trying to do this under FreeBSD (since you did post this > question in a FreeBSD mailing list). :-) Well, this is how we do it. :-) > > Good luck. Let us know how it goes. > > Conrad > > -- > Conrad Sabatier > cjsabatier@home.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message