Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Sep 2017, 19:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
TestDisk & PhotoRec
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
bigpup


Joined: 11 Oct 2009
Posts: 9259
Location: Charleston S.C. USA

PostPosted: Tue 14 Apr 2015, 23:35    Post subject:  TestDisk & PhotoRec
Subject description: Data recovery programs
 

TestDisk & PhotoRec
http://www.cgsecurity.org/wiki/Main_Page
Quote:
- PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, and lost pictures (thus the Photo Recovery name) from digital camera memory. PhotoRec ignores the file system and goes after the underlying data, so it will still work even if your media's file system has been severely damaged or reformatted.

If you have lost partition or strange problem with your hard disk partitions, run TestDisk to recover your data. TestDisk detects numerous filesystem including NTFS, FAT12, FAT16, FAT32, exFAT, ext2, ext3, ext4, btrfs, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS.


TestDisk & PhotoRec are portable applications, extract the files and the applications are ready to be used. No need to run an installer.

They will need to be run in a terminal.

The downloaded package will be testdisk-7.0-WIP.linux26.tar.bz2 that has both programs in it.
Open with Xarchive, select all, and select extract.
This will put all the contents in a named directory (testdisk-7.0-WIP).
Open the directory in Rox file manager.

To run test disk
right click on testdisk_static and select run in terminal.

To run Photorec
Right click on photorec_static and select run in terminal.

This directory (testdisk-7.0-WIP) has program info files and a link to the online documentation.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4287
Location: West Lothian, Scotland, UK

PostPosted: Tue 15 Mar 2016, 00:36    Post subject:  

Following your instructions...

1. From HERE...
Downloaded to [the mounted only/single partition on] a 1GB Flash Drive with space to spare, as follows:
/mnt/sdb1/Puppy/pet/Testdisk&Photorec-7.0/testdisk-7.0.linux26.tar.bz2

2. Right-clicked the file in Xfe, chose "Open with..." Xarchive...
All the file contents were displayed...

3. Clicked "Select all..." [all files were highlighted], then clicked "Extract" ...

4. I was asked if I wanted to place the extracted files in a sub-folder named "testdisk-7.0", and I agreed.
The folders&files were extracted to:
/mnt/sdb1/Puppy/pet/Testdisk&Photorec-7.0/testdisk-7.0

5. Tried using ROX to right-click on the file = "photorec_static", but there was no right-click-context-menu-item = "run in terminal"...
Nor any other "run" option that I could see.

6. What am I doing wrong?
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2642
Location: South Australia

PostPosted: Thu 10 Nov 2016, 15:34    Post subject:  

Is it possible to undelete photos on an android phones internal memory?

When I ran MTP and mounted the phone Photorec did not see the phone filesystem.

TIA

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
Burn_IT


Joined: 12 Aug 2006
Posts: 2876
Location: Tamworth UK

PostPosted: Thu 10 Nov 2016, 15:47    Post subject:  

That is likely because TESTDISK runs directly against the device and will not support accessing storage via a driver.
_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2642
Location: South Australia

PostPosted: Thu 10 Nov 2016, 16:11    Post subject:  

Does that mean it might work if I don't mount it with MTP?
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
Burn_IT


Joined: 12 Aug 2006
Posts: 2876
Location: Tamworth UK

PostPosted: Thu 10 Nov 2016, 16:30    Post subject:  

It means that if you can give testdisk direct access to the (I presume) memory card in the phone, it might work.
Don't forget you are talking about nand (or whatever) memory and that is different to the type of storage that TESTDISK was designed to handle. That sort of memory tends to work in blocks not individual bytes.

If you can remove the memory card and access it in a USB card reader it might? work.
I haven't tried it so I don't know, and I am not going to risk ruining on of my cards trying for the sake of it.

Last edited by Burn_IT on Thu 10 Nov 2016, 16:35; edited 1 time in total
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2642
Location: South Australia

PostPosted: Thu 10 Nov 2016, 16:34    Post subject:  

Thanks. Sounds like the photos may be gone forever.
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Thu 10 Nov 2016, 16:34    Post subject:  

Smokey, aside from searching "recover data from an android phone," take a look at what's involved with an iPhone..

www.cgsecurity.org/wiki/Recover_data_from_an_iPhone

_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2642
Location: South Australia

PostPosted: Thu 10 Nov 2016, 17:10    Post subject:  

@Semme
It seems pretty complicated and the phone needs rooting which is the same for the android.

It's not my phone so I don't want to risk bricking it.

Thanks

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
Semme


Joined: 07 Aug 2011
Posts: 7775
Location: World_Hub

PostPosted: Thu 10 Nov 2016, 17:32    Post subject:  

Yeah Smokey, we should all know the consequences of our actions. Wink
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2642
Location: South Australia

PostPosted: Thu 10 Nov 2016, 21:12    Post subject:  

Only too well, unfortunately.
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0437s ][ Queries: 14 (0.0061s) ][ GZIP on ]