Getting started running testdisk-7.0

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
Yankee26
Posts: 2
Joined: 20 Sep 2015, 05:28

Getting started running testdisk-7.0

#1 Post by Yankee26 »

Hi:

Running on AMD i386 with Live Ubuntu 14.04.3. Testdisk-7.0 was downloaded and stored on USB. Copied testdisk-7.0 to Home directory on computer. Tried to start testdisk-7.0 in a terminal using sudo testdisk-7.0/testdisk_static. Result no such dir or file.

Did I place the testdisk in the correct folder? If not which directory should it go in?
Terminal attempt to run testdisk-7.0
Terminal attempt to run testdisk-7.0
Dir home-testdisk7.0 2015-09-20 04_57_45.png (74.41 KiB) Viewed 2430 times
Thanks for your help,

Bob

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Getting started running testdisk-7.0

#2 Post by cgrenier »

As you are already in testdisk-7.0 directory, run

Code: Select all

sudo ./testdisk_static

Yankee26
Posts: 2
Joined: 20 Sep 2015, 05:28

Re: Getting started running testdisk-7.0

#3 Post by Yankee26 »

Thanks CG for your reply. I am running Live Ubuntu 14.04.3 DVD. I copied testdisk7.0 into home directory.

In a terminal: sudo ./testdisk_static # Result Command not found.
cd testdisk-7.0
sudo ./testdisk-7.0 # Result Command not found

Each time I used ls to verify I was seeing the directory.

To check I rebooted into Live Ubuntu and ran sudo again. Same result as above.

What does CODE: SELECT ALL do. I typed it in the terminal and Command not found.

I keep wondering if I am seeing the computer's file system and am seeing the Ubuntu in computer memory. I tried to copy testdisk-7.0 into usr directory but it would not except it.

Thanks for your help, and any more suggestions,
Bob

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Getting started running testdisk-7.0

#4 Post by cgrenier »

run

Code: Select all

cd testdisk-7.0
ls   (you should see the testdisk_static binary)
sudo ./testdisk_static

Locked