On Fri, Jan 03, 2003 at 01:04:26PM -0600, Chris Heintzelman wrote: > I recently was taking pictures with a digital camera. During one of > these picture-takings, the camera said "cf error" (compact flash). So > I take this compact flash and attach it via ide-cf adapter to my linux > box as /dev/hdc. I run fdisk /dev/hdc, which tells me there is 1 fat-16 > partition, which is correct. However, I cannot mount it (bad superblock > or whatever error message that pops up when that happens). I was able > to read the image using "dd if=/dev/hdc of=cfimage bs=1024". Does > anyone know of a tool to reconstruct at least some of the lost data? I > figure I could break it into 1k blocks and look for some that start with > a jpeg header or something but that seems painful. > > Any ideas would be greatly appreciated!!!
tried dosfsck(8)? it once fixed nearly precisely the same situation for me (invalid fs on a camera CF card). i used it against the original media IIRC after taking the exact same kind of diskimage you had (in case dosfsck broke the media-bound-image further). for me it came with a package called 'dostools' in redhat 7.2, but i bet you can find its original home on google or rpmfind/apt-cache search =) _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://www.utacm.org/mailman/listinfo/siglinux
