Replicating Linaro Images to more memory cards

Andy Doan andy.doan at linaro.org
Fri Feb 17 15:25:29 UTC 2012


On 02/17/2012 01:26 AM, Sudhangathan B S wrote:
> I'm using Gumstix Overo-Fire.
> I need to replicate my systems to deploy and test my setup. Right now I
> have one uSD memory card which is working fine, but when I copy the
> whole card using either the `tar cvpf` or dd commands, the image doesn't
> work on any other memory card. Below is the console message when it
> hangs. I have tried many memory cards.
>
> Looks like Linaro images store the memory card ID and search for them
> during the boot time, which will obviously fail on a different card.
>
> Is there any way I can make my Linaro Image memory card independent....
> so that my replication becomes easy..??

You could do something similar to the process we use to make pre-built 
images. For example, your linaro-media-create line currently is probably 
like:

   linaro-media-create --dev overo --mmc /dev/sdb .......

You can change this to something like:

   linaro-media-create --dev overo --image_file file.img --image_size 3G

This will create file.img which you could then "dd" to your SD cards.



More information about the linaro-dev mailing list