On 2009-09-13, Neil Bothwick <n...@digimed.co.uk> 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



Reply via email to