Solved

"Untruncating" files that ScanDisk has truncated.

Posted on 1997-07-17
4
608 Views
Last Modified: 2013-12-29
Some files on my FAT32 partition were deleted. Since I didn't have any utilities that can undelete files from a FAT32 partition, I used a disk editor to restore the missing first characters of the files' names. This worked and they became visible again. After this I ran ScanDisk which told me it had found errors and offered to correct them by truncating the files. Stupidly I agreed and ScanDisk truncated all of my files to 4KB. How do I "untruncate" these files. I know the data is still there because I haven't written anything to the disk since, so why did ScanDisk want to truncate them in the first place?
0
Comment
Question by:keir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
Costin earned 200 total points
ID: 1689035
If you feel confortable with the disk editor, try to copy the second FAT table over the first one.
Beware, that could restore the files you need but could destroy a lot of other files, so expect a complete reinstall after that!
If this does not help, there are little chances to restore the FAT chains for your files, since you don't know probably the physical sectors where data resides.
A complete back-up before this "hara-kiri" operation could help, but there are chances to loose some data from your files, because every boot process or program launch usually creates some files that could overwrite parts of your needed files.
Also, a "chinese" inspection of your physical sectors to discover the sectors belonging to your files, and copying them one by one onto a floppy could help, but probably you'll need some days to complete this task.
And BTW, a final advice, don't try repairing programs without an "UNDO" option for the future.
Good luck.
0
 

Author Comment

by:keir
ID: 1689036
Costin - I would expect that both copies of the FAT are the same. My understanding of the second copy of the FAT is that it is a backup of the first. When ScanDisk truncated the files, wouldn't it have updated both copies of the FAT?
The most important file that I am after is a 130MB wave file. It is not possible for this file to have been overwritten. Even if a small part of it was damaged, it would still have value. I know that the data is there, I have to find a way of getting DOS to recognise the file's actual size again. Do you know of any utilities that can help me with this problem. The version of Norton that I have can't understand the FAT32 partition I'm working with.
0
 

Expert Comment

by:Costin
ID: 1689037
Ok keir, I'm back, but unfortunately not with a happy answer.
Norton Utilities '96 understand FAT 32 but is useless in this case.
I've spent some time searching utilities for your problem. Only native Scandisk and NU '96 work correct with FAT 32.
Yes, you're right, the second FAT is a back-up, but there was a slight chance that the second FAT to remain intact (not to be updated), now is anyhow too late.
I think your only chance is to work on it manually, extracting sector by sector, and concatenate them in the right order (if the files are text files, no problem. if not...)
It is all I could made.
Good luck.


0
 

Author Comment

by:keir
ID: 1689038
Thanks for your comments, I have bought Norton's Utilities and used the disk editor which understands FAT32 to read the clusters from the starting location of the missing files and write the data into a new file on another drive. This actually retrieved most of my sound data (wav files were what I was trying to recover). Thanks again for you suggestions.

Regards,
Keir.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Winapi.Windows.hpp problem 7 35
Linux Server mapping drive using SSH key 9 43
Move WSUS to Server 2016 3 32
Unabled to open web site 10 26
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question