From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 08:00:17 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 3437D106566B for ; Wed, 15 Dec 2010 08:00:17 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 92B368FC15 for ; Wed, 15 Dec 2010 08:00:16 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id oBF80FRf015357 for freebsd-questions@freebsd.org; Wed, 15 Dec 2010 02:00:15 -0600 (CST) Date: Wed, 15 Dec 2010 02:00:15 -0600 (CST) From: Robert Bonomi Message-ID: <201012150800.oBF80FRf015357@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: Creating clone of a HDD including boot partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 08:00:17 -0000 > From owner-freebsd-questions@freebsd.org Tue Dec 14 09:01:02 2010 > From: nagios > Date: Tue, 14 Dec 2010 15:42:42 +0100 > To: Liste FreeBSD > Subject: Creating clone of a HDD including boot partition > > Hello, > > I have setup a tailored made configuration (1 UFS partition + 1 > swap + boot sectors) for some hardware that I am reselling and > would like to clone one existing HDD (tailor made) and be able to > dump to another new HDD. > > System is running pfSense with FreeBSD 7.2 and soon 8.x > > 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.