From owner-freebsd-questions Mon Sep 30 13:50: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADF0C37B404 for ; Mon, 30 Sep 2002 13:50:02 -0700 (PDT) Received: from letos.cs.uh.edu (letos.cs.uh.edu [129.7.240.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0908743E3B for ; Mon, 30 Sep 2002 13:50:02 -0700 (PDT) (envelope-from pdesai1@cs.uh.edu) Received: from themis.cs.uh.edu (themis [129.7.240.5]) by letos.cs.uh.edu (8.11.6+Sun/8.11.6) with ESMTP id g8UKo0o11417 for ; Mon, 30 Sep 2002 15:50:00 -0500 (CDT) Received: from localhost (pdesai1@localhost) by themis.cs.uh.edu (8.11.6+Sun/8.11.4) with ESMTP id g8UKo0A00709 for ; Mon, 30 Sep 2002 15:50:00 -0500 (CDT) X-Authentication-Warning: themis.cs.uh.edu: pdesai1 owned process doing -bs Date: Mon, 30 Sep 2002 15:50:00 -0500 (CDT) From: "Pranav A. Desai" To: Subject: how to use 'dd' to create image of a hard drive? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ******************************************************************* Pranav A. Desai Home :- (937) 294 1381 ******************************************************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message