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)
Cannot run TestDisk (Linux)
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
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
- cgrenier
- Site Admin
- Posts: 5422
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Cannot run TestDisk (Linux)
Try
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"
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
go in testdisk-6.14-WIP directory using the cd command and run "./testdisk_static"
Re: Cannot run TestDisk (Linux)
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
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
Re: Cannot run TestDisk (Linux)
when in testdisk folder, what's the result of
Code: Select all
ls -l testdisk_static
Re: Cannot run TestDisk (Linux)
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
Ruth