From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 15:30:45 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 F06DD1065672 for ; Wed, 15 Dec 2010 15:30:45 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 72A6B8FC12 for ; Wed, 15 Dec 2010 15:30:44 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 9581B78C36; Wed, 15 Dec 2010 16:11:46 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hl6Ij2FQSQcT; Wed, 15 Dec 2010 16:11:46 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 3605F78C2E ; Wed, 15 Dec 2010 16:11:46 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=windows-1252 From: bsd In-Reply-To: <201012150800.oBF80FRf015357@mail.r-bonomi.com> Date: Wed, 15 Dec 2010 16:11:45 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <58F35D2B-19D0-4FE0-A4DA-03FDA8128BD2@todoo.biz> References: <201012150800.oBF80FRf015357@mail.r-bonomi.com> To: Robert Bonomi X-Mailer: Apple Mail (2.1082) Cc: 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 15:30:46 -0000 Is there a way to dd to a file to create an iso image and then restore = (still using dd from this image).=20 I only have one IDE <--> USB cable so this is the reason why It'd more = simple for me to create an iso image of the disk and then restore.=20 Using dump won't be very useful because I won't be able to get the first = 63 segments where boot info are written, I need something of lower level = (obviously dd will be my friend).=20 Thanks everyone. I'll try to post the line code once I got It up and = running. =20 Thanks.=20 Le 15 d=E9c. 2010 =E0 09:00, Robert Bonomi a =E9crit : >=20 >> =46rom 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 >>=20 >> Hello, >>=20 >> 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. >>=20 >> System is running pfSense with FreeBSD 7.2 and soon 8.x >>=20 >> What would be your suggested method to achieve this goal. >=20 > *IF* the disks are the same size/geometry, then simply dd(1) from one = raw > device to the other. >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO