TestDisk & PhotoRec

Miscellaneous tools
Message
Author
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#31 Post by jamesbond »

edoc wrote:

Code: Select all

# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       19458   156185600    7  HPFS/NTFS
Hmmm this looks normal. So we need to look at the next few sectors to see why gparted choked on them.
"Sectors" is not a text file.
How to I handle that, please?
Open terminal, do this in /root:

Code: Select all

gzip -9 sectors
and upload the resulting sectors.gz here.

Btw - I'm not sure whether Fluppy has the command gdisk (I'm not running Fluppy now). If it has, can you do the command also:

Code: Select all

gdisk -l /dev/sda
cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
NETTKNUT
Posts: 135
Joined: Thu 27 Oct 2011, 09:51
Location: Wales

TestDisk Pet

#32 Post by NETTKNUT »

I tried to download testdisk-6.11.3.pet from http://www.murga-linux.com/puppy/viewtopic.php?t=28453 but got the message 'an error occurred'. Is there another pet I can download. My machine is a 660Mhz PII with 500 meg ram. any help appreciated. Thanks

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#33 Post by slavvo67 »

Any particular reason why you need that version? I have 6.14 with menu icons if you want. Send me an e-mail slavvo67@gmail.com (two v's and letter o) and I'll get what I have over to you.

Best,

Slavvo67

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#34 Post by Semme »

"SIX" YEARS AGO? >> http://www.murga-linux.com/puppy/viewtopic.php?t=28453

As pm'd.. self-contained and stand-alone..

User avatar
NETTKNUT
Posts: 135
Joined: Thu 27 Oct 2011, 09:51
Location: Wales

TestDisk Pet

#35 Post by NETTKNUT »

I was trying to get version 6.11.3 as it was the only one I could find on 'murga-linux'. I now have a direct URL for Test Disk instead. Thank you.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#36 Post by greengeek »

Semme wrote:"SIX" YEARS AGO? >> http://www.murga-linux.com/puppy/viewtopic.php?t=28453
As pm'd.. self-contained and stand-alone..
Me too please :-)

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#37 Post by edoc »

Are there other utilities that do the same - or do these remain significantly unique after all these years?

I would also be interested in trying them out.

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#38 Post by Semme »

You could take a look @ R-Studio.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#39 Post by Sylvander »

1. I uploaded the pet file for Testdisk-6.11.3 to Russoodle in 2011.
See it listed in this post.

2. I no longer have this version stored [so far as I know].
I now have testdisk-6.12.pet

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#40 Post by bigpup »

A new post on Testdisk & PhotoRec
http://murga-linux.com/puppy/viewtopic.php?t=98717
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 :shock:
YaPI(any iso installer)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#41 Post by disciple »

edoc wrote:Are there other utilities that do the same - or do these remain significantly unique after all these years?

I would also be interested in trying them out.

Thanks!
Yes, there are other file undelete utilities, some targetted at specific filesystems like extundelete. And there are other file carvers like photorec, but I can't think of any off the top of my head.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#42 Post by greengeek »

Sylvander wrote:1. I uploaded the pet file for Testdisk-6.11.3 to Russoodle in 2011.
See it listed in this post.
I can't see your files on russoodles server. Do you think they are still there? (maybe I'm looking in the wrong place or the files are not publicly accessible?) cheers

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#43 Post by Sylvander »

greengeek wrote:Do you think they are still there?
I have no idea.
Why not send her a PM asking where they may be found on her server?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#44 Post by Semme »

Any reason you wouldn't run their latest? Really, I have no idea why peeps always think they need a pet file.

Code: Select all

# ./photorec_static /version
PhotoRec 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
Attachments
td_latest.jpg
(5.09 KiB) Downloaded 464 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#45 Post by linuxcbon »

Actually, you don't need any pet, because in their website, you can download the latest binaries compiled for 32 and 64 bits , so just download the zip file there, and unzip it, and run it, and voilà.

They also wrote a tutorial in their website, easy peasy.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#46 Post by greengeek »

Semme wrote:Any reason you wouldn't run their latest? Really, I have no idea why peeps always think they need a pet file.
I sometimes prefer a pet file because:
a) It means someone went to the trouble of ironing out any incompatibilities with Puppy idiosyncrasies (eg: menu structure etc)
b) It's likely that multiple other users have eyeballed the code or at least used the software in a puppy environment and may have already contributed to the improvement of functionality or configuration etc.
c) I often want the older 'tried and true' version that has already been debugged.
d) I may be setting up an old puppy on old hardware and want a matching version of that software.
e) I'm sometimes paranoid and want a program that was written by the 'old school' devs rather than expanded and bloated by the 'new school' CIA operatives who love stuff like systemd.
f) I am a collector of stuff and if it's there to be archived I am keen to have a copy just for the heck of it... :-)

gcmartin

#47 Post by gcmartin »

Like @GreenGeek, I usually look for PET implementations for system test & use.

I prefer a PET because I usually install a PUP app/subsystem to be used as part on my main system, available always. Thus, no need for its layering at boot or via SFS loadings because its become an integral system part and is preserved once any session-saves are done.

I have not noticed, in all the years of doing so, any negative behavior is PET additions and use in my main systems. I run LiveDVD PUP distros.

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

tutorial for Testdisk and Photorec

#48 Post by labbe5 »

A good tutorial can be found here : http://www.dedoimedo.com/computers/linu ... overy.html

The process is fairly simple, but following a tutorial might help recover partitions or files, or both. Other tool mentionned in the tutorial is : Recoverjpeg : http://www.rfc1149.net/devel/recoverjpeg.html

User avatar
NETTKNUT
Posts: 135
Joined: Thu 27 Oct 2011, 09:51
Location: Wales

TestDisk

#49 Post by NETTKNUT »

Thanks to labbe5 for the links to some useful stuff.

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#50 Post by phat7 »

A great tool! Thanks!!!

Post Reply