Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 15:55:36 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        "Pranav A. Desai" <pdesai1@cs.uh.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how to use 'dd' to create image of a hard drive?
Message-ID:  <3.0.5.32.20020930155536.028ece30@mail.sage-one.net>
In-Reply-To: <Pine.GSO.4.33.0209301544250.564-100000@themis.cs.uh.edu>
References:  <Pine.GSO.4.33.0209181612280.9213-100000@themis.cs.uh.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:50 PM 9.30.2002 -0500, Pranav A. Desai wrote:
>
>Hi all!
>
>	Can I use something like
>
>dd if=/dev/ad0 of=/dev/ad1
>
>to copy every thing from first drive to the second and be able to boot
>from the second drive? Do I need to specify block size ? The second drive
>doesnt have anything on it (filesystem or slices).
>
>Thanks
>
>-Pranav
>

You would use this for IDE HDs:
# dd if=/dev/ad0 of=/dev/ad1 bs=8192 #Change the "bs" switch to something
that works best for you.

Of importance is that ad1 be equal to or larger than ad0. If larger, then
that larger portion will be unusable.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net

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?3.0.5.32.20020930155536.028ece30>