IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Since the camera still holds the card
If it's a "normal" filesystem, it will most likely be some version of fat. I've seen them without partitions or on the 4th partition. (I don't know why they like the 4th partition).

Linux views my wife's digital camera has just a usb scsi disk. So, from linux it would be useful to copy an image of it to play with. Then you can go wild with fat data recovery and not fear making things worse.

Dave "LordBeatnik"
New Mount the image on loopback.
Not sure if you can make the file system repair tools work on a file image, but that'd be worth a try, too.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New Re: Mount the image on loopback.
Well, you can't really "mount it on loopback", but what I think you meant was - if you can identify the FS, you can mount that somewhere, then dd it to a loop device created with a like file system, then munge that until you are satisfied, without permanent damage to the original. That was my thinking when I mentioned guessing the FS - and minix is a good guess if the thing lives in a Linux enviroment - as is FAT, which seems to be the case according to Hippy Dave.

Yes, you can do tools on a loop device - it's a (block) device like any other (ain't UNIX grand?) - you can have FAT loops, EXT2 loops, NTFS loops (also known as "fruit" loops) ...You can think of loop devices as tunneling for file systems. "initrd"s are just loop devices

For those who haven't tried it, enable "loopback" device in the kernel under "block devices" and play with "losetup".
-drl
New Re: Mount the image on loopback.
Hippy Dave? That's a new one. 8)

I was thinking he could use loopback to mess with it under linux if he wanted to. Also, he would then have a backup image. So he could mess with windows recovery tools as well with the card in the camera. If they didn't work, he still has a copy of the original raw image and could dd it back to the camera if desired.

Dave "LordBeatnik"
New That's one way to do it.
But I really did mean "mount it on loopback". If I take a dd of a diskete from /dev/fd0 to a file, then I can mount the resulting file via the loopback device. CD ROM ISO image files can also be mounted like this, as can initrd images.

Taking a dd image off the card and playing with it using the loopback device would be helpful if the damage is file-system only. If the actual card has somehow gotten fritzed, this approach is probalbly not useful.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New I've ordered a USB card reader
Soon as I do, I'll be trying this trick first, then if that doesn't work I've got a Windows-only recovery utility (the one andread pointed out) I'm going to try out.
===

Implicitly condoning stupidity since 2001.
     Data recovery tools for SmartMedia? - (drewk) - (15)
         I am sure Linux would... - (folkert) - (10)
             Tried hooking it up to the Linux box once - (drewk) - (9)
                 Since the camera still holds the card - (admin) - (8)
                     Re: Since the camera still holds the card - (deSitter) - (6)
                         Re: Since the camera still holds the card - (lordbeatnik) - (5)
                             Mount the image on loopback. - (static) - (4)
                                 Re: Mount the image on loopback. - (deSitter) - (3)
                                     Re: Mount the image on loopback. - (lordbeatnik)
                                     That's one way to do it. - (static) - (1)
                                         I've ordered a USB card reader - (drewk)
                     Not what I'd heard - (drewk)
         Try BadCopy Pro -NT - (andread) - (1)
             Thanks for the tip - (drewk)
         Try this site - (rcareaga) - (1)
             Card reader is already ordered - (drewk)

Here lies my beloved Zoë, my autumn flower, somewhat less attractive now she's all corpsified and gross…
77 ms