From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 14:31:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6911C1065673 for ; Wed, 15 Dec 2010 14:31:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 29F9E8FC12 for ; Wed, 15 Dec 2010 14:31:05 +0000 (UTC) Received: from r55.edvax.de (port-92-195-134-77.dynamic.qsc.de [92.195.134.77]) by mx01.qsc.de (Postfix) with ESMTP id D66543CE40 for ; Wed, 15 Dec 2010 15:31:03 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oBFEV3Pw001560 for ; Wed, 15 Dec 2010 15:31:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 15 Dec 2010 15:31:03 +0100 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20101215153103.ae1fb1ef.freebsd@edvax.de> In-Reply-To: <201012150800.oBF80FRf015357@mail.r-bonomi.com> References: <201012150800.oBF80FRf015357@mail.r-bonomi.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Creating clone of a HDD including boot partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 14:31:05 -0000 On Wed, 15 Dec 2010 02:00:15 -0600 (CST), Robert Bonomi wrote: > > What would be your suggested method to achieve this goal. > > *IF* the disks are the same size/geometry, then simply dd(1) from one raw > device to the other. And if it's not, use the recommended standard transfer method of dump + restore. Before you can do so, run a script (e. g. from a live system CD) to perform the slicing and partitioning according to your needs (fdisk, disklabel/bsdlabel, newfs, tunefs, or geom tools, or zfs tools). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...