Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2001 17:25:08 +0300
From:      "Artem Koutchine" <matrix@ipform.ru>
To:        "Conrad Sabatier" <cjsabatier@home.com>, "Joseph Gao" <Joseph.Gao@btinternet.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 
Message-ID:  <00b601c08936$1fd584a0$0c00a8c0@ipform.ru>
References:  <XFMail.010128081157.cjsabatier@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <cjsabatier@home.com>
To: "Joseph Gao" <Joseph.Gao@btinternet.com>
Cc: <freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b601c08936$1fd584a0$0c00a8c0>