home *** CD-ROM | disk | FTP | other *** search
/ Windoware / WINDOWARE_1_6.iso / misctext / ami20tn / ap000102.txt < prev    next >
Text File  |  1992-01-02  |  5KB  |  76 lines

  1. TITLE:   How to Avoid Invalid Disk Change Errors During Installation
  2. PRODUCT: Ami Pro 2.0
  3. DATE:    11-Oct-1991 
  4. PROBLEM: 
  5.  
  6. The error "Invalid Disk Change" appears when program disk 2 is inserted into 
  7. the specified drive.  This error continually appears and the installation 
  8. cannot complete.
  9.  
  10. SOLUTION: 
  11.  
  12. The Invalid Disk Change message is usually generated by the DOS Share program. 
  13. This program is normally used by DOS 4.X to recognize a drive partition larger 
  14. than 32MB in size.  Another aspect of Share is that it monitors read and write 
  15. operations.  If a read or write operation takes place when a disk has been 
  16. changed in the middle of the operation, Share looks at the volume label to 
  17. determine if it is the same disk that was previously in the drive.  If it is 
  18. not, DOS sends an invalid disk change error message and requests that the 
  19. proper disk (identified by the volume label) be reinserted into the drive.  
  20. This functionality exists to prevent inadvertently overwriting data.  During 
  21. installation of Ami Pro, Share has detected that a file is open and the same 
  22. disk is not in the drive when program disk 2 is inserted, so a message appears 
  23. requesting that the previous disk (program disk 1) be reinserted into the 
  24. drive.
  25.  
  26. There is a way to eliminate the invalid disk change error produced by Share.  
  27. Add the switch /NC at the end of the command to load Share.  For example, if 
  28. Share is being loaded in CONFIG.SYS, the line might look like:
  29. INSTALL=C:\SHARE.EXE /NC
  30.  
  31. The /NC switch disables the functionality of Share that will produce the 
  32. invalid disk change error when disks are switched while files remain open.  
  33. After adding /NC to the Share command in CONFIG.SYS, it will be necessary to 
  34. reboot the computer to load Share again.  IMPORTANT: Since the ability to 
  35. monitor floppy disk changes provides security against accidentally overwriting 
  36. data on a floppy disk, the /NC switch should be removed from the Share command 
  37. after the Ami Pro installation is completed.
  38.  
  39. If a version of Share is being used for which the /NC switch is not available, 
  40. try remarking out the line that loads Share in the AUTOEXEC.BAT or CONFIG.SYS 
  41. file by typing REM at the beginning of the line.  Save the change and reboot 
  42. the computer, then install Ami Pro.  After installing Ami Pro, remove the REM 
  43. from the line that loads Share.  Save the change and reboot the computer.  
  44. NOTE: The /NC switch for Share is not documented in the DOS manual.  The 
  45. information about /NC was obtained from various sources on CompuServe.
  46.  
  47. A related problem that may occur during installation of Ami Pro is continually 
  48. getting a prompt to insert program disk 2 even when the correct disk is in the 
  49. drive.  This is usually caused by a hardware configuration that does not read 
  50. the drive every time a disk is accessed.  Even though program disk 2 has been 
  51. inserted, the computer does not read the drive after disk 2 has been inserted. 
  52. When this occurs it may be possible to use the DOS DRIVPARM command to force a 
  53. disk change read.  DRIVPARM is available in MS-DOS 3.2 and higher but not in 
  54. any version of PC-DOS.  It modifies the parameters of existing physical drives 
  55. attached to the system.  A DRIVPARM line in the CONFIG.SYS file might read:
  56.  
  57.  DRIVPARM=/D:0 /F:1
  58.  
  59. There should NOT be a /C switch.  The absence of /C will force DOS to read the 
  60. drive each time a disk is accessed rather than search the internal disk 
  61. buffers.  If a DRIVPARM line already exists in the CONFIG.SYS file for the 
  62. disk drive which is being used to install Ami Pro and the /C switch is 
  63. present, remove the /C.  The /D:0 parameter designates that the A drive is the 
  64. one to be changed (use /D:1 for the B drive), and /F:1 identifies it as a 
  65. 1.2MB drive.  Different drive types will require different switches.  Refer to 
  66. a DOS manual for the version of DOS being used for complete information about 
  67. DRIVPARM.
  68.  
  69. Since DRIVPARM alters the characteristics of floppy drives, if it did not 
  70. already exist in the CONFIG.SYS file prior to installing Ami Pro, it should be 
  71. removed after Ami Pro is successfully installed.  If the /C switch was removed 
  72. from an existing DRIVPARM command in CONFIG.SYS, add the /C switch back to the 
  73. command after Ami Pro is successfully installed.
  74.  
  75.