From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MmsJb-0004rH-QN for garchives@archives.gentoo.org; Sun, 13 Sep 2009 16:52:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD04AE087C; Sun, 13 Sep 2009 16:52:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 864F3E087C for ; Sun, 13 Sep 2009 16:52:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0566C6573A for ; Sun, 13 Sep 2009 16:52:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.975 X-Spam-Level: X-Spam-Status: No, score=-2.975 required=5.5 tests=[AWL=-0.376, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ihDmUvY4QbI1 for ; Sun, 13 Sep 2009 16:52:33 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5F1F266F6A for ; Sun, 13 Sep 2009 16:52:31 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MmsJP-000148-5S for gentoo-user@gentoo.org; Sun, 13 Sep 2009 18:52:27 +0200 Received: from 67-220-17-45.usiwireless.com ([67.220.17.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Sep 2009 18:52:27 +0200 Received: from grante by 67-220-17-45.usiwireless.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Sep 2009 18:52:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Duplicate Flash drive Date: Sun, 13 Sep 2009 16:52:05 +0000 (UTC) Message-ID: References: <200909130913.21591.dirk.heinrichs@online.de> <20090913164822.5a70d636@zaphod.digimed.co.uk> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 67-220-17-45.usiwireless.com User-Agent: slrn/0.9.8.1pl1 (Linux) Sender: news Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: fb2d9771-1dc9-486f-ae33-3657436f6b33 X-Archives-Hash: 5d3cfc25f46327786109456cfc72784f On 2009-09-13, Neil Bothwick wrote: > Alternatively, set everything up as you need to start with, > then dd the entire device, including partitioning and > bootloader, with > > dd if=/dev/sda of=firewall.img That's how we used to do it when we were shipping CF-based products. The one gotcha you have to look out for is that CF cards vary considerably in size (even though they all have identical part numbers and are all labeled as 512MB or whatever). You can't expect to be able to fill up 512MB CF card #1, and then always be able to copy that to 512MB CF card #2. Card #2 might be smaller than card #1. So you might want to check the capacity of a good sized sample of cards and make your image a few percent smaller than the smallest one you find. -- Grant