Posts: 540 | Thanked: 387 times | Joined on May 2009
#1
Surprised this hadn't been ported yet.

Testdisk is useful for recovering missing partitions (particularly if the partition table has been wiped).



Photorec is useful for recovering individual files from deleted file-systems and etc.



INSTALLATION:
1.) Download these packages:2.) Become root
$ root
3.) cd to download directory
ex: # cd /home/user/MyDocs/.documents/
4.) # dpkg -i libuuid1_1.37-2sarge1_armel.deb
5.) # dpkg -i uuid-dev_1.2-1.37-2sarge1_armel.deb
6.) # dpkg -i libncursesw5_5.4-3.osso1_armel.deb
7.) Either # dpkg -i testdisk_6.11-1_armel.deb
OR
Open testdisk_6.11-1_armel.deb with Application Manager and install.

INSTALLATION NOTES:
Code:
uuid-dev depends on libuuid1 1.37
if libuuid1 ver 1.40 (from Qole) is installed then:

dpkg -r --force-all libuuid1
modify sources.list and comment out Qole's repository (use #)
apt-get update
apt-get install libuuid1
apt-get install uuid-dev
USE:
  • Maximize osso-xterm, reduce text size to fit (if font size is 16 pt, then click "zoom out" key 4 times or so) as needed. Or use ROXterm.

    # testdisk
    If it says "TestDisk needs 24 lines to work. Please enlarge the terminal" then you need to further reduce the text size.

    # testdisk
    it should now ask to create, append or quit logging. Select create.

    it should now say no harddisk found (bug with tablet SD card detection)
  • # cd /media/mmc1
  • # testdisk /dev/mmcblk0

    (or # cd /media/mmc2 && testdisk /dev/mmcblk1)

    substitute in device name as appropriate.

    The same applies to photorec:
  • # photorec /dev/mmcblk*
  • Select partition (cursors keys and enter)
  • Select Intel partition table scheme
  • Select filesystem type
  • Select filesystem group
Now presented with files in directory
If wish to save to CDed directory press Y, if not press N to quit.
To navigate directories use left (back) and right (next) cursor keys.

P.S.
I'd also like to add that I found half a dozen songs on my SD card using photorec the other day that I had never seen before. No idea how or when they had been on the card but creeped out none-the-less.
 

The Following 6 Users Say Thank You to linuxeventually For This Useful Post:
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#2
Very exciting to see photorec ported.
Any plans on getting this into the Extras repo?
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes
 
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#3
Photorec was a 'life-saver' the other day
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes
 
Posts: 540 | Thanked: 387 times | Joined on May 2009
#4
Awesome. =D

and yeah I never got around to getting it into Extras because when I tried autobuilder spit out a long error and that's annoying.
 
Posts: 263 | Thanked: 77 times | Joined on Jan 2009 @ Sigtuna, Sweden
#5
Testdisk also runs nicely under Easy-Debian.
( Just "apt-get install testdisk" as root in the chroot X Terminal.)
Might, for some, be an easier way.

It saved me a corrupt USB stick.
 
Reply

Tags
deleted, diablo, photorec, recovery, testdisk

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:43.