home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / articles / archives / limanews.exe / FIXDISK.TXT < prev    next >
Text File  |  2006-10-19  |  3KB  |  56 lines

  1. ORIGINALLY PUBLISHED IN LIMA NEWSLETTER APRIL 1990
  2.  
  3.           FIXING DISKS  
  4.           By:  Andy Frueh, Lima UG 
  5.  
  6.      We've all seen them.  Those horrible little disk errors.  For example,
  7. having 4394 free sectors on a SS/SD disk or when the computer refuses to find a
  8. file you just know is there somewhere.  Some people throw these disks away
  9. saying they're useless.  DON'T!  Althogh these situations may look hopeless, a
  10. blown disk can be repaired. 
  11.  
  12.      Blown or glitched disks come in three major categories.  Physically
  13. altered, blown disk header, and blown file header(s). 
  14.  
  15.      The first type is not repairable.  Doing things such as cutting the disk
  16. or finding that a small child has fingered it (after eating chocolate chip
  17. cookies of course) effectively destroy both the contents of the disk and the
  18. actual media itself.  Throw it away.  Of course if the disk was in its envelope
  19. when not in use, it should be fairly safe. 
  20.  
  21.      The seond type, blown disk headers, are slightly more complex.  These
  22. usually have to do with the first sector or the directory map.  You almost
  23. always need to use a special disk fixer program to set things straight.
  24. Although a skilled programmer may not need to use such a program, I feel it's a
  25. lot safer. 
  26.  
  27.      The third type, blown file header(s) are very easy.  Suppose you catalog a
  28. disk and it looks like this: 
  29.  
  30.      FILEA 
  31.      FILEB 
  32.      FILET 
  33.      FILEC 
  34.      FILED 
  35.  
  36.      Obviously, file FILET is out of order, which shouldn't happen.  Let's also
  37. suppose that you can't manipulate FILED in any way (delete, copy, load, ect.).
  38. Using a cataloger, list all the files on the disk and place them in
  39. alphabetical order.  Next, use a sector editor to inspect sectors 1-x.  The
  40. value for x depends on the number of files. 
  41.  
  42.      Keep looking until you have found each filename.  As you spot the
  43. filename, put a small check by it as well as the sector number the name is
  44. found in. 
  45.  
  46.      Next, edit sector 0001.  Enter the hexadecimal mode.  Every four
  47. characters equals one file header.  Since your list is in alphabetical order,
  48. type each number of the sector header.  For example if FILED has its header at
  49. sector 2, I would enter 0002 for the first four digits and so on.  When you are
  50. done, write the sector and try cataloging and manipulating the files.  The
  51. easiest way to do this is catalog then protect/unprotect all the files.  If you
  52. can, you are in the clear.  If not, more work will be required.  Before you
  53. give up, try repeating this procedure, or find someone with lots of disk skill. 
  54. .PL 1 
  55.  
  56.