Guest User

Recovery true crypt

a guest
May 15th, 2011
4,867
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. How to recover a mountable volume with a damaged filesystem
  2.  
  3. WARNING: Repairing a damaged filesystem might in the worse case scenario result in a catastrophic data loss!
  4.  
  5.  
  6. Symptoms: TrueCrypt is able to mount your volume but data on it is inaccessible. Windows reports one of the following errors:
  7.  
  8. * Drive is not accessible. The volume does not contain a recognized filesystem.
  9. * The drive is not formatted, do you want to format it now?
  10.  
  11. When attempting to repair using chkdsk, the following error is reported: 'CHKDSK is not available for RAW drives.'.
  12.  
  13.  
  14. Solution: First, do not format or write anything to the drive. Doing so may result in a total data loss. Also, before proceeding I recommend doing a backup of the TrueCrypt container if possible.
  15.  
  16. 1. Begin with downloading and unpacking TestDisk (version used is 6.11.3) from http://www.cgsecurity.org/wiki/TestDisk_Download
  17. 2. Mount your damaged volume in TrueCrypt.
  18. 3. Run testdisk_win.exe in the testdisk-6.11.3/win folder.
  19. 4. Choose to create a log file.
  20. 5. Select the drive letter of the damaged volume.
  21. 6. Select 'None' when asked for partition type.
  22. 7. Select 'Advanced'.
  23. 8. Select '[Type]' at the bottom of the screen --> Choose NTFS (if you are running NTFS) --> 'Boot' --> 'Rebuild BS'
  24. 9. Now, wait some time while TestDrives rebuilds the boot sector of the partition/drive. You can now backup important files using the 'List' option. Navigate using the arrow keys. 'C' to copy and 'Q' to quit when finished. The recovered files will be saved in /win.
  25.  
  26.  
  27. - By this time you should have recovered most of your important files -
  28.  
  29. 10. Now, lets move on and try to restore the filesystem of the volume itself. Choose 'Write' and wait for TestDrive to rebuild the boot sector.
  30. 11. Quit TestDrive properly, dismount all TrueCrypt drives and restart the computer.
  31. 12. Mount your TrueCrypt volume. Data should be accessible now. I recommend to run a disk check. In TrueCrypt, right click on the mounted volume and choose 'Check filesystem'. Then 'Repair filesystem'.
  32.  
  33. Everything should work as normal now. Hope this helps.
  34.  
  35. -- celerity
RAW Paste Data