home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / DACDRM.FAX < prev    next >
Text File  |  1995-01-25  |  10KB  |  294 lines

  1. OSDACDRM - INSTRUCTIONS FOR SETTING UP A CDROM IN A VMB
  2. 10/24/94
  3.  
  4. ===============================================================
  5.   INSTRUCTIONS FOR SETTING UP A CDROM IN A VMB
  6.   (Virtual Machine Boot) ENVIRONMENT FOR OS/2 2.x
  7. ===============================================================
  8.  
  9. Please Read Entire Document for Full Explanation of Procedures
  10. ----------------------------------------------------------------
  11.  
  12.  
  13. SYMPTONS:
  14.              CD-ROM DEVICES THAT ARE NOT SUPPORTED BY OS/2
  15.  
  16. RESOLUTION:
  17.  
  18. Before You Begin
  19. ----------------------------------------------------------------
  20.  
  21. 1. Check with your vendor to see if your CD-ROM device has
  22.    OS/2 - 2.0 or 2.1 supported device drivers.  Use the device
  23.    driver that corresponds to the version of OS/2 you are
  24.    running on your system.
  25.  
  26. 2. If your CD-ROM device is not OS/2 supported, you need to
  27.    set up a single session VMB to run your CD-ROM.
  28.  
  29.    a.  If you are using DOS 5.0 to create the CD-ROM VMB, you
  30.        need the file MSCDEX.EXE V2.21.  It should be shipped
  31.        with your CD-ROM.  You can also obtain it from your
  32.        endor, or download it from the IBM Bulletin Board
  33.        (BBS) - (404)835-6600.
  34.  
  35.     b.  If you are using MSDOS 6.0 to create the VMB, you
  36.         need the file MSCDEX.EXE V2.22.  It comes with
  37.         MSDOS 6.0 - and is in the \DOS directory.
  38.  
  39.  
  40. Creating a CD-ROM VMB Diskette
  41. ----------------------------------------------------------------
  42.  
  43.  
  44. 1.  Each Image file you create equals the size of the diskette
  45.     you use, for example, 360k, 720k, or 1.44mb high density
  46.     diskette.  There are two ways to create a VMB diskette:
  47.  
  48. METHOD A:
  49.  
  50.         Start from a DOS bootable diskette that includes the
  51.         FORMAT.COM file from native DOS.  Type: FORMAT A: /S
  52.         and press Enter.  When you see a message asking you
  53.         to Press any key, insert a blank diskette for the VMB in
  54.         Drive A, and press Enter.  COMMAND.COM is on the
  55.         diskette when this step is completed.
  56.  
  57. METHOD B:
  58.  
  59.         If you have native DOS installed on your computer, start
  60.         from there.  Insert a blank formatted diskette you want
  61.         to use for the VMB in Drive A, and, from the DOS root
  62.         directory, type: SYS A: and press Enter.  COMMAND.COM is
  63.         on the diskette when this step is completed.
  64.  
  65.  
  66.     NOTE:  After creating a VMB diskette, you can:
  67.            -  Start from OS/2's Command Prompts Icon View
  68.                   (DOS from Drive A)
  69.            -  Start from the VMB Image Icon on your Desktop
  70.  
  71. 2. Start in OS/2 and copy the following files from the
  72.    OS2\MDOS directory to the CD-ROM VMB diskette:
  73.  
  74.                      ANSI.SYS
  75.                      FSFILTER.SYS
  76.                      FSACCESS.EXE
  77.                      EMM386.SYS
  78.                      HIMEM.SYS
  79.                      LPTDD.SYS
  80.                      MOUSE.COM
  81.                      (CD-ROM DRIVER)   (Example:  TSLCDR.SYS)
  82.                      MSCDEX.EXE
  83.  
  84. You may add number of DOS 5.0/6.0 files to this diskette,
  85. but not until the CD-ROM VMB is running.
  86.  
  87. 3. You can create the CD-ROM VMB image in two different ways
  88.    following the instructions in Option A or Option B.
  89.  
  90.  
  91.  
  92.  
  93.  ========================  O P T I O N   A  ====================
  94.  
  95.       You can read/write to Drive A, but you cannot change the
  96.       AUTOEXEC.BAT, CONFIG.SYS or add files directly to the VMB
  97.       Image file on the hard disk.
  98.  
  99.  
  100.      NOTE:  Use a text editor to create files.
  101.  
  102.       1A.  On the VMB diskette create the following CONFIG.SYS:
  103.  
  104.  
  105.                 DEVICE=FSFILTER.SYS
  106.                 DEVICE=HIMEM.SYS
  107.                 DEVICE=EMM386.SYS
  108.                 DOS=HIGH,UMB
  109.                 DEVICE=ANSI.SYS
  110.                 DEVICE=LPTDD.SYS
  111.                 DEVICE=(CD-ROM DRIVER) -  (Example: DEVICE=TSLCDR.SYS)
  112.                 FILES=40
  113.                 BUFFERS=30
  114.                 LASTDRIVE=Z
  115.  
  116.  
  117.  
  118.  
  119.       2A.  On the CD-ROM VMB diskette create the following
  120.            AUTOEXEC.BAT:
  121.  
  122.                 ECHO OFF
  123.                 PROMPT $P$G
  124.                 MSCDEX /D:(DRIVER NAME) /E  (Example: /D:TSLCDR.SYS /E)
  125.                 SET COMSPEC=C:\CDROM\COMMAND.COM
  126.                 MOUSE.COM
  127.                 PATH C:\;C:\VMB
  128.                 C:
  129.                 CD\CDROM
  130.                 CDROM.BAT
  131.  
  132.  
  133.       2A.  Make a directory called C:\CDROM to store the CD-ROM
  134.            VMB image.  In the C:\CDROM directory create the
  135.            following CDROM.BAT:
  136.  
  137.                 C:\OS2\MDOS\FSACCESS A:
  138.                 CD\
  139.  
  140.            This file lets read/write to Drive A. Otherwise,
  141.            a DIR on Drive A, displays the Image files.
  142.  
  143.       4A.  Copy COMMAND.COM from the CD-ROM VMB diskette to the CDROM
  144.            directory.  Go to C:\CDROM and type:
  145.  
  146.                 VMDISK A: CDROM.IMG  and press Enter.
  147.  
  148.            This creates an image of the diskette you created.
  149.            The Image File is CDROM.IMG and is in the the C:\CDROM
  150.            directory.
  151.  
  152.       5A.  When completed, remove and store the diskette.
  153.            Return to the Desktop.
  154.  
  155.  
  156. ========================  O P T I O N   B  =====================
  157.  
  158.  
  159.       You can read/write to alternate drive other than Drive A:,
  160.       for example, M:.  You can change the AUTOEXEC.BAT,
  161.       CONFIG.SYS, and add files directly to the VMB Image
  162.       file on the hard disk.
  163.  
  164.  
  165.      Note:  Use a text editor to create files.
  166.  
  167.       1B.  On the CD-ROM VMB diskette create the following
  168.            AUTOEXEC.BAT:
  169.  
  170.                 ECHO OFF
  171.                 PROMPT $P$G
  172.                 MSCDEX /D:(DRIVER NAME) /E   (Example: /D:TSLCDR.SYS /E)
  173.                 MOUSE.COM
  174.                 PATH C:\;C:\CDROM
  175.                 FSACCESS M=A
  176.                 C:
  177.                 CD\CDROM
  178.  
  179.            NOTE:  If you start DOS from an Image File, you cannot use
  180.                   physical Drive A until you release the Image File.
  181.                   FSACCESS M=A releases Drive A and assigns M.
  182.                   You may select another logical drive in its
  183.                   place.
  184.  
  185.            LAN USERS:  Do not use FSACCESS Z=A if your Lan assigns
  186.                        logical Drive as the network drive.
  187.  
  188.  
  189.       2B.  On the CD-ROM VMB diskette create the following
  190.            CONFIG.SYS:
  191.  
  192.                 DEVICE = FSFILTER.SYS
  193.                 DEVICE = HIMEM.SYS
  194.                 DEVICE = EMM386.SYS
  195.                 DOS = HIGH,UMB
  196.                 DEVICE = ANSI.SYS
  197.                 DEVICE = LPTDD.SYS
  198.                 DEVICE = (CD-ROM DRIVER)   (Example: DEVICE = TSLCDR.SYS)
  199.                 FILES = 40
  200.                 BUFFERS = 30
  201.                 LASTDRIVE = Z
  202.  
  203.  
  204.            NOTE:  Assigning LASTDRIVE = Z for VMB purposes allows
  205.                   DOS Applications to read/write to physical
  206.                   Drive A - which is logical Drive M.  When
  207.                   retrieving/saving a file from/to physical Drive A,
  208.                   rename the APPLICATION's drive designation to M
  209.                   instead of A.
  210.  
  211.       3B.  Make a directory called C:\CDROM to store the CD-ROM
  212.            VMB image.  Copy the COMMAND.COM from the CD-ROM VMB
  213.            diskette to the CDROM directory.  Go to the C:\CDROM
  214.            and type:
  215.  
  216.                  VMDISK A: CDROM.IMG  and press Enter.
  217.  
  218.            This creates an image of the diskette you created.
  219.            The Image File is CDROM.IMG and is in the C:\CDROM
  220.            directory.
  221.  
  222.       5B.  When completed, remove and store the diskette.  Return
  223.            to the Desktop.
  224.  
  225.  
  226. Creating a CD-ROM VMB Desktop Icon
  227. -----------------------------------------------------------------
  228.  
  229. 1.  Creating the Icon:
  230.  
  231.       a. Open the OS/2 System folder.
  232.  
  233.       b. Select the Command Prompts Icon.
  234.  
  235.       c. Copy the DOS Full Screen icon to the Desktop by holding
  236.          down the Ctrl key and dragging the icon to Desktop while
  237.          holding down the right mouse button.
  238.  
  239.       d. Close Command Prompts and the OS/2 System Folder.
  240.  
  241. 2.  Change the DOS Settings For the VMB Icon:
  242.  
  243.       a. Select the DOS Full Screen Icon.
  244.  
  245.       b. Press the right mouse button to display the menu.
  246.  
  247.       c. Select the Arrow on Open.
  248.  
  249.       d. Select Settings to open the Settings notebook.
  250.  
  251.       e. Select Session.
  252.  
  253.       f. Select DOS Settings.
  254.  
  255.       g. Change the following settings:
  256.  
  257.               DOS_UMB            to:   ON
  258.               DOS_HIGH           to:   ON
  259.               DOS_STARTUP_DRIVE  to:   C:\CDROM\CDROM.IMG
  260.               XMS_MEMORY_LIMIT   to:   Default is 2048 (Min.Requirement -
  261.                                                         increase as needed)
  262.  
  263.       3.  Save the settings.
  264.  
  265.       4.  Select General and change the Title field to CDROM the
  266.           name you want to call your Desktop Icon.
  267.  
  268.       5.  Close the Window.
  269.  
  270.       6.  Select the new DOS CD-ROM VMB Desktop Icon.
  271.  
  272.       7.  To EXIT the VMB, create a file in the VMB directory
  273.           called X.BAT containing the following:
  274.  
  275.                              @ECHO OFF
  276.                              C:\OS2\MDOS\EXIT_VDM
  277.       8.  Save the file
  278.  
  279.       9.  Type X at the command prompt.
  280.  
  281.  
  282.  
  283.     NOTE:  If you have problems with the above steps, check all
  284.            your file and directory names, especially the ones in
  285.            the DOS Settings.  If you need assistance:
  286.            1. Open Master Help Index.
  287.            2. Select  Search Topics.
  288.            3. Type: Starting from an Image File in the entry
  289.               field.
  290.            4. Scroll to the DOS section
  291.            5. Select the Starting from an Image File
  292.               and read the information.
  293.  
  294.