Solved

"Untruncating" files that ScanDisk has truncated.

Posted on 1997-07-17
4
611 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

705 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