Solved

"Untruncating" files that ScanDisk has truncated.

Posted on 1997-07-17
4
598 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
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
Costin earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

For a variety of reasons, it sometimes makes sense to reboot a Windows-based computer on a regular, perhaps daily basis. This "cures" a lot of ills by resetting processes, flushing caches, refreshing memory, and reestablish network connections. In a…
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now