![Testdisk Usb Stick Installieren Per Fekt Testdisk Usb Stick Installieren Per Fekt](http://2.bp.blogspot.com/-UFjQdhGdl6I/Vn-4ZFR814I/AAAAAAAAI_M/QuFFnOyMgpQ/s1600/testdisk-01.png)
My backup USB (Samsung StoryStation) disk failed. Everything on it was either somewhere else or not required, but it was still annoying.
May 20, 2015 How do I make bootable media which includes TestDisk? I have TestDisk files ready to load onto a DVD and a USB stick; mostly for use on Windows 7 NTFS HDs. How do I create a bootable DVD and a bootable USB stick that will have TestDisk ready to go to work?
After first using rsync to back my home directory up to a new USB HDD, I decided to use testdisk to see what I could see on the old one. This was the error is was giving:
I tried mounting it on other computers, it would not. I put a different HDD in the enclosure and that did mount, so it was not the enclosure electronics failing. I tried to mount the disk using a different enclosure. Nope. Windows did not see it either.
Put it back in it’s original enclosure and plugged it in. As usual, the volume name showed up in the file manager (caja; I use MATE) but it threw the error.
Then…
(1) Check free space on new backup drive, then detach it (I don’t want to do anything to it by mistake)
(2) Attach the Samsung
(3) Watch it fail to mount
(4) Open terminal
(5) $ sudo testdisk
(6) Create a new log
(7) Select sdg
(8) Select Intel partition
(9) Select Analyse:
(10) Quick search
(11) Write partition structure to disk — OK
(12) Quit; told me to reboot, but it is a USB disk not THE disk, so did not — was that a mistake?
(13) Click on SAMSUNG in caja
(14) No luck
(15) Decide to grab the files and write them to my other backup disk.
(16) Plug in second USB HDD
(17) It mounts as sdh — do not mess with this or with main HDD in testdisk!
(18) $ sudo testdisk
(19) Append to log
(20) Select sdg
(21) Select Intel partition
(22) Go to Advanced
(23) Choose HPFS/NTFS
(24) Disk contents shows up — or do they? Seems to be showing the contents of my desktop HDD, not the USB one…?
(25) I am stupid and need to read menus better. Anyway …
(26) Got to this screen:
(27) Down the botttom, the menu says:
(28) Press ‘P’, and I can see the files!
(29) Now:
So go through selecting.
(30) Then press ‘C’ (upper case!) then select the ‘where to’ directory (other USB HDD) and then ‘C’ again and wait.
(30) Successfully grabs thousands of files … testdisk is awesome.
(31) Only then did I do the Windows chkdsk thing suggested by the mount error shown above — I don’t trust chkdsk /f, a long-held fear from my experiences in the previous century.
(32) Booted up a Windows 7 VirtualBox instance, used the Devices menu to pass the broken USB HDD through to the machine … it did not show up. Try is on a bare metal Windows install … Device Manager says it is working properly, but it does not show up in the File Manager … ? Disk Manager shows it as unallocated space. OK, so Windows cannot see a file system.
(33) Go back to Linux box and just repartition and format the drive using gparted.
Gparted in action
(34) Partition > New > NTFS (So I can use it on Windows). Give it a name and a label. Exit gparted and unplug the USB HDD, then plug it back in again. And there it is, all ready to go. Not sure I should trust it… and indeed, it’s proved flaky since. But I did get the files off!
Anyway, testdisk is awesome. It can save you time and money.