WEll it looks like the ide adaptor we bought sees these two cards as being different. Its really annoying...I guess all compact flash cards aren't perfectly identical. so if i we stick to the same brand, we'll be ok i guess.
-----Original Message----- From: Hugh Blemings [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 2:42 PM To: Hussain, Omar [LBRT/LNA] Cc: [EMAIL PROTECTED] Subject: Re: device for copying FLASH cards Hi Hussain, On Tue, 14 May 2002 14:23:49 -0400 "Hussain, Omar [LBRT/LNA]" <[EMAIL PROTECTED]> wrote: > Anyone know of a device that will do a low level copy of a flash card ? > I set up linux on a 128meg compact flash card, but I can't duplicate it > very easily. I bought an IDE to compact flash adaptor, but that is > useless, it reports different cylinders for different cards of the same > size. jeesh... I'd defer to others more experienced than I but I don't think the different geometries is an issue and is probably a reflection of what the card is saying. Most IDE to CF adapters are completely passive, merely putting the CF card into IDE rather than memory mode. If you can rig the IDE to CF adapter up on a system that has a hard disk to act as temporary storage I would assume something like; (Plug in original CF card, I'm assuming it's /dev/hde) # dd if=/dev/hde of=cf-image.raw (unplug CF card) # dd of=cf-image.raw of=/dev/hde Will do the trick. Note that you're using /dev/hde rather than /dev/hde1 as you're taking the entire device, not just a partition You may need to shutdown to swap cards depending on how the IDE to CF adapter works. Also pay close attention to what you specify as the input device (if) and output device (of) - if you get it wrong you'll end up wiping the CF card, your hard disk or something else! Hope this helps - certainly seems to work quite OK with conventional hard disks, and I'm pretty sure I've did it with CF devices a few years back. Cheers, Hugh -- To unsubscribe from this list, send a message to [EMAIL PROTECTED] with the command "unsubscribe linux-embedded" in the message body. For more information, see <http://waste.org/mail/linux-embedded>.