SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-08 21:39:10

Gmos719
Member
Registered: 2012-02-03
Posts: 27

Accidently deleted pictures from flash drive. Is there any way to recover them?

I was able to recover the pictures with a "undelete" program but they only show a portion of the picture

at the top and the rest is grey. I'm not sure if it's because I recovered them using a different computer.

Anyway, Is there anything in the package manager that could help me recover the pictures using this computer?

Offline

#2 2012-05-08 22:07:57

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

Install Testdisk and run photorec from command line to recover files. There are rules to recovery though. The first is to stop using the disk until you recover your files. The second is to recover the files to a seperate disk drive. The reason behind this is that deleted files' space on drive gets marked as free space, so any new files may copy over the recoverable files. The same applies when recovering files on the same disk because they will not take up the same disk areas as before, meaning they may corrupt themselves or other files.

Offline

#3 2012-05-08 22:33:08

Gmos719
Member
Registered: 2012-02-03
Posts: 27

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

You are a life saver!

Thanks for replying.

It worked out just fine and recovered all 300 pictures.

ps. I have checked the other thread I made but I directed it towards you because I had a question about your site

with the emulators. I'm looking for a gameboy emulator.

Offline

#4 2012-05-08 22:38:06

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

ok i was just looking for you

fwiw, i have tested a number of undelete program and the one i found most successful was

http://www.powerdatarecovery.com/

See also

http://www.techsupportalert.com/best-free-data-recovery-file-undelete-utility.htm?page=3

I have recovered data from formatted disks (from fat32 to ntfs) with  a new system installed using it.

In fact, i have tested a number of these undelete program and, as explained in the article i reference, i found the MiniTool Power Data Recovery to be the most efficient one, recovering thousands and thousands of files.

Offline

#5 2012-05-08 22:40:52

Gmos719
Member
Registered: 2012-02-03
Posts: 27

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

@Christophe

Thanks for replying but I already recovered using TestDisk - photorec.

Thanks for the links though, they might come in handy.

Offline

#6 2012-05-09 12:45:09

andrewmorton22
Member
Registered: 2012-05-09
Posts: 1

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

try Kernel for FAT and NTFS or RecoveryFix for Windows i have used RecoveryFix in the past with good results

Offline

#7 2012-05-09 14:05:38

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

Well, Testdisk (and in proxy photorec) can recover files from Linux, MacOs and Windows Filesystems. Don't let the name fool you, photorec can recover media files, music, videos, documents - just about anything. Hell, I've even used it to recover data from a drive with the boot sector and the first 20% of the drive corrupted. Best of all is that it's FREE and it can even be used on Windows. And here you guys keep peddling inferior paid for Windows products...

Offline

#8 2012-05-09 15:32:03

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

FWIW, and with no intention to start a meta discussion:

i tested these tools myself (including testdisk and photorec) on 2 different disk which both had been damaged or formatted, and neither of them was superior to minitool power data recovery.

One of the two eneded up not working at all on my machine, the other one created 500 000 small files "recovered" from the disk, in addition to the real files i intended to recover. I think it was using older entries from files that had been truly (physically) erased in the meantime, which minitool power data recovery.

That made it virtually unusable in real life, because first it took forever to recover that huge number of files, and second, it made the recovery practically unusable: noone wants to manually manage the destruction of 500 000 extra files !

And it was free to use at the time i used it.

I like free tool, but not at the expense of spending days if not weeks to manually finish the job ! wink

but for a few files just accidently erased (not a formatted disk) i am sure photorec and testdisk can do a good job

Offline

#9 2012-05-09 19:11:51

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

That's because of Fragmentation which Windows LOVES to do. I recovered my music from a corrupted NTFS system post format. 90% of the music was fine while some was fragmented. It's all fine and nice using an undelete program because it cheats and uses the filesystem's records to recover the files - even reconstructing them while they're fragmented. But what do you do when that's what's corrupted or lost? Yep, you use a sector scanner like Photorec. Speaking of which, fragmention on Linux is rare and journaling makes file recovery easier (using an ext3 or ext4 undelete, it puts 'lost' files in lost+found for recovery). With Windows either just defrag often or switch to a Linux Filesystem tongue

Offline

#10 2012-05-09 19:41:17

Gmos719
Member
Registered: 2012-02-03
Posts: 27

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

I used a windows program to begin with and it didn't work.

I tried again using Testdisk on my notebook with slitaz installed and it worked fine.

So, I'll stick with what I know works.

Thanks for recommending it Trixar_za.

Offline

#11 2013-03-12 12:48:01

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Accidently deleted pictures from flash drive. Is there any way to recover them?

With Windows I prefer Recuva myself: http://www.piriform.com/recuva

Just remember to download the portable version if you want to recover off your main drive. Best of all? IT'S COMPLETELY FREE.

They also make my favorite junk cleaner, Ccleaner, for Windows too.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]