On 05/27/2012 08:46 PM, Daniel Bauer wrote:
Am 27.05.2012 14:01, schrieb George Olson:
Hi everyone,
I have a micro-sd card that I accidentally deleted an important file off of. I don't know the file name because it was the contact list that I was trying to move from my old phone to my new phone, and I never originally intended to use the file system, but I was just going to transfer the contacts using the phone utilities. I am hoping that there are some command line tools I can use to scan the sd card and find the missing file. I had not made any backups :( bad, bad me
The card is /dev/sdc1. So I did a "debugfs /dev/sdc1" and I got an error:
debugfs 1.41.14 (22-Dec-2010) /dev/sdc1: Bad magic number in super-block while opening filesystem
The sd card is formatted as follows:
Disk /dev/sdc: 4091 MB, 4091543552 bytes 126 heads, 61 sectors/track, 1039 cylinders, total 7991296 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/sdc1 8192 7991295 3991552 b W95 FAT32
Any ideas anyone?
Maybe http://www.cgsecurity.org/wiki/PhotoRec can help you. Although it's name refers to photos it is able to "undelete" almost everything. Just make sure to let it save the recovered files on another disk (not the one you are recovering from)!
To me it helped a lot with external disks, photo and mobile phone cards, even after formating them...
hth
Daniel
Thanks guys I will try photorec :) -- G.O. Box #1: 12.1 | KDE 4.8.3 | AMD Athlon X3 | 64 | nVidia C61 GeForce 7025 | 4GB RAM Box #2 12.1 | KDE 4.8.3 | Pentium 4 (2core) | 32 | Intel 82915G | 2GB RAM Lap #1: 12.1 | KDE 4.8.3 | Core2 Duo T8100 | 64 | Intel 965GM | 4GB RAM Lap #2: 12.1 | KDE 4.8.2 | Core Duo T2400 | 32 | NVIDIA Quadro NVS 120 | 2GB RAM learning openSUSE and loving it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org