Post #124,965
11/10/03 4:26:07 PM
|
I am sure Linux would...
Probably just needs an fsck...
If you want to come to GRR... I'll gladly do it.
BTW, you slack-jaw are you going to ever pop back into Jabber?
We miss your very well regarded comments.
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
|
Post #124,975
11/10/03 5:23:14 PM
|
Tried hooking it up to the Linux box once
Couldn't figure out how to connect to it. Got the USB stuff working, saw the device, couldn't figure out how to browse it. I'll bring it in again tomorrow see if I can figure it out.
Haven't been on Jabber 'cause of the new job responsibilities. I routinely get >50 emails/day about >20 projects underway. With no formal project tracking system in place. The new (as of about February) project manager and I are trying to fix that latter issue.
===
Implicitly condoning stupidity since 2001.
|
Post #124,977
11/10/03 5:24:50 PM
|
Since the camera still holds the card
I'd be surprised if you could see anything through Linux over USB. The camera is the piece of equipment presenting the flash card as a mountable partition to Linux, and if the camera doesn't know what it looks like...
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #124,981
11/10/03 5:37:07 PM
|
Re: Since the camera still holds the card
Of course, you could just guess that the card has a minix filesystem or some such.
-drl
|
Post #125,005
11/10/03 9:04:48 PM
|
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"
|
Post #125,067
11/11/03 6:45:45 AM
|
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. |
|
Post #125,072
11/11/03 7:59:17 AM
|
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
|
Post #125,190
11/11/03 5:03:46 PM
|
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"
|
Post #125,279
11/12/03 7:00:34 AM
|
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. |
|
Post #125,293
11/12/03 8:57:00 AM
|
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.
|
Post #125,120
11/11/03 11:02:53 AM
|
Not what I'd heard
I remember reading somewhere that there were more tools available to some of the USB readers. Will have to look into them.
Mostly I'm just trying to convince myself that you might be wrong ... so I don't have to tell my wife we just lost another set oh photos.
===
Implicitly condoning stupidity since 2001.
|