[Voyage-linux] Duplicating CF
mgrollman
(spam-protected)
Thu Mar 27 00:19:45 HKT 2008
Robert,
To go from one identical sized cf card to another identical sized card,
ideally same brand, with a hard disk file in the middle, and assuming
the CF card was at /dev/hda and that the hard disk was being used as
part of /var, I would do something like put the one you want to copy
into the CF drive and:
dd /dev/hda /var/cf_images/cf_image-name.img ; this copies all the data,
including boot track, to a file called cf_image-name.img in a dir called
/var/cf_images/ that must already exist;
then swap the master for the blank in /dev/hda, and...
dd /var/cf_images/cf_image-name.img /dev/hda ; this takes the data from
the file and puts it onto a blank cf card
Note, this may take a while, if the cf drive is slow and the cf size is
large. It also does not work well if 2 different sizes of Cf card are
used. Do not get this backward, of course, or you can wind up with 2
blank CF cards, or worse, a blank hard disk !!!!!!!!!!!!!!!
Anyway, that's the way I always do it, if CF cards are the same.
Cheers,
- Michael
Robert Rawlins wrote:
>
> Hello Guys,
>
> At the moment with all the packages I install and changes I make to
> the configuration of my systems the build time is quite lengthily from
> start to finish.
>
> Is there any efficient and simple way to duplicate compact flash
> cards? We’re not talking massive numbers so I want to avoid doing it
> professionally, just something I can do here with my card readers
> would be good. I want to be able to create one finished card and then
> make multiple versions of the same thing.
>
> I have done this a long while back but found that we has problems with
> networking when placing cards in different boards, it seemed to get
> confused. I forget which method I used.
>
> I’m using grub boot loader if that makes any difference.
>
> I look forward to getting your suggestions guys,
>
> Robert
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.0/1343 - Release Date: 3/25/2008 7:17 PM
>
More information about the Voyage-linux
mailing list