Cannot run TestDisk (Linux)

Using TestDisk to undelete files
Message
Author
greetp
Posts: 1
Joined: 09 Mar 2012, 23:31

Cannot run TestDisk (Linux)

#1 Postby greetp » 09 Mar 2012, 23:36

Hi,

I'm struggling to run Testdisk.

Grateful if anyone can advise exactly where I extract the files & how I execute them in Root.

Many thanks for any help

Phil (Linux newbie)

Sponsored links

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

Re: Cannot run TestDisk (Linux)

#2 Postby cgrenier » 10 Mar 2012, 09:49

Try

Code: Select all

wget -N http://www.cgsecurity.org/testdisk-6.14-WIP.linux26.tar.bz2
tar xjf testdisk-6.14-WIP.linux26.tar.bz2
cd testdisk-6.14-WIP
sudo ./testdisk_static

sudo will asked you for your user password. If you can't use sudo on your system, run "su -", type your root password,
go in testdisk-6.14-WIP directory using the cd command and run "./testdisk_static"

rwoody
Posts: 2
Joined: 28 Apr 2012, 22:45

Re: Cannot run TestDisk (Linux)

#3 Postby rwoody » 28 Apr 2012, 23:04

I'm also having Linux issues -
The version loaded:testdisk-6.14-WIP.linux26.tar.bz2 (I downloaded decompressed and installed the folder/contents direct to my Linux root)

I have the file system loaded - My kernel is :Linux 2.6.18-238.12.1.el5.centos.plus

Via the shell I've tried the following:
cd testdisk-6.14-WIP
[root@xxxx-xxxx testdisk-6.14-WIP]#
testdisk-6.14-WIP]# su - ./testdisk_static
su: user ./testdisk_static does not exist

Checking the /help file in su - it states - should assume root but apparently it does not so I tried the following, but it did not request my password (maybe due to the fact I'm logged in as root? :

testdisk-6.14-WIP]# su root ./testdisk_static
./testdisk_static: ./testdisk_static: cannot execute binary file

Any suggestions? I have a bunch of mp3 files that were deleted in error and I'm trying to recover them. Really need to figure this out.

Thanks in advance for such a great option (if I can get it to run)

Ruth

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Cannot run TestDisk (Linux)

#4 Postby remy » 01 May 2012, 17:34

when in testdisk folder, what's the result of

Code: Select all

ls -l testdisk_static
J'ai pour habitude d'aller au bout de l'aide que j'apporte. Si vous pensez que je vous ai abandonné, et que je ne l'ai pas fait explicitement, c'est que votre message est enfoui avec d'autres. Relancez-moi (modérément) par mail.

rwoody
Posts: 2
Joined: 28 Apr 2012, 22:45

Re: Cannot run TestDisk (Linux)

#5 Postby rwoody » 12 Jul 2012, 17:55

Sorry, I don't speak or read French- but I gave up. Luckily I found an old back up and was able to restore 90% of the 6000 files that were deleted. I would really like to have this on the server for future events. Maybe I'll try again in the future.

Ruth


Return to “File undelete”

Who is online

Users browsing this forum: No registered users and 0 guests