Getting started running testdisk-7.0

How to use TestDisk to recover lost partition
Post Reply
Message
Author
Yankee26
Posts: 2
Joined: 20 Sep 2015, 05:28

Getting started running testdisk-7.0

#1 Post by Yankee26 » 20 Sep 2015, 06:22

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?
Dir home-testdisk7.0 2015-09-20 04_57_45.png
Terminal attempt to run testdisk-7.0
Dir home-testdisk7.0 2015-09-20 04_57_45.png (74.41 KiB) Viewed 600 times
Thanks for your help,

Bob

Sponsored links

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

Re: Getting started running testdisk-7.0

#2 Post by cgrenier » 21 Sep 2015, 08:10

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 » 21 Sep 2015, 14:31

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: 3619
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Getting started running testdisk-7.0

#4 Post by cgrenier » 23 Sep 2015, 06:45

run

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest