home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / DIDSCD.FAX < prev    next >
Text File  |  1994-12-08  |  9KB  |  243 lines

  1. Setting up an unsupported CDROM in a VMB 7/20/94
  2.  
  3.        File:OSDIDSCD.fax
  4.  
  5.        TITLE:  SETTING UP A CD-ROM IN A VMB (Virtual Machine
  6.        Boot) ENVIRONMENT
  7.  
  8.        DESCRIPTION OF SYMPTOMS:
  9.  
  10.        Unable to run an unsupported CD-ROM under OS/2.
  11.  
  12.        SUMMARY OF RESOLUTION:
  13.  
  14.        If you cannot access your CD-ROM in OS/2 and are running
  15.        only OS/2 on your system, you can still access your CD-ROM
  16.        by setting it up to run in a VMB.  The instructions below
  17.        will enable you to create a DOS bootable diskette
  18.        containing the necessary CD-ROM drivers which allow you to
  19.        boot DOS from drive A and access the CD-ROM.
  20.  
  21.        Before you begin check with your vendor first to see if
  22.        your CD-ROM device has OS/2 - 2.0 or 2.1 supported device
  23.        drivers.  Use the device driver which corresponds to the
  24.        OS/2 version you are currently running on your system.  At
  25.        the end of this text is a list of supported device drivers
  26.        for each version of OS/2.
  27.  
  28.        If your CD-ROM device is not OS/2 supported, you will then
  29.        have to set up a single session VMB to run your CD-ROM.
  30.  
  31.        If you use DOS 5.0 to create the CD-ROM VMB, you will need
  32.        the file "MSCDEX.EXE V2.21".  This should be shipped with
  33.        your CD- ROM.  You can also obtain it through your vendor,
  34.        or you can download it from the PCC BBS - (919) 517-0001.
  35.  
  36.        If you use MSDOS 6.0 to create the VMB, you will need the
  37.        file "MSCDEX.EXE V2.22".  That file comes with MSDOS 6.0,
  38.        and is located in the \DOS directory.
  39.  
  40.        Proceed with creating the CD-ROM VMB from the instructions
  41.        below.
  42.  
  43.        DETAILS OF RESOLUTION:
  44.  
  45.        CREATING A CD-ROM VMB DISKETTE
  46.        ---------------------------------------------------------------
  47.  
  48.        Instructions for creating a bootable 360k, or a 720k, or a
  49.        1.44mb high density diskette.  Each Image File you create
  50.        will equal the size of the diskette you use.  There are two
  51.        different ways to do this:
  52.  
  53.        A. Boot with a DOS 5.0/6.0 bootable diskette with the
  54.        FORMAT.COM command in the AUTOEXEC.BAT's PATH statement on
  55.        the diskette.  Replace the bootable diskette in Drive A
  56.        with the diskette you want to use for the CD-ROM VMB.  At
  57.        the C> prompt type:  FORMAT A:  /S
  58.  
  59.        B. If you have pure DOS 5.0/6.0 installed on your computer,
  60.        boot up from there.  Insert the blank formatted diskette
  61.        you want to use for the CD-ROM VMB in Drive A. At the C>
  62.        prompt type:  SYS A:  (COMMAND.COM should be on your
  63.        diskette when you have completed this process).
  64.  
  65.        NOTE:  When you have finished creating the VMB bootable
  66.        diskette, you will be able to:
  67.  
  68.        * Boot from OS/2's Command Prompts Icon View (DOS from
  69.        Drive A).  * Boot from the CD-ROM VMB Image Icon on your
  70.        Desktop that you created.
  71.  
  72.        1. Boot up in OS/2 and copy the following files from the
  73.        OS2\MDOS directory to the CD-ROM VMB diskette:
  74.  
  75.        ANSI.SYS FSFILTER.SYS FSACCESS.EXE EMM386.SYS HIMEM.SYS
  76.        LPTDD.SYS MOUSE.COM (CD-ROM DRIVER) Ex:  TSLCDR.SYS
  77.        MSCDEX.EXE
  78.  
  79.        You may add to this diskette any number of DOS 5.0/6.0
  80.        files you want to use, but do not do this until the CD-ROM
  81.        VMB is up and running.
  82.  
  83.        2. You will be able to create the CD-ROM VMB image in two
  84.        different ways.
  85.  
  86.        PART A:  This will allow you to read/write to Drive A, but
  87.        you will not be able to change the Autoexec.bat, Config.sys
  88.        or add files directly to the CD-ROM VMB Image file that has
  89.        been created on the hard drive.(Instructions below)
  90.  
  91.        PART B:  This will allow you to read/write to an alternate
  92.        drive other than Drive A (i.e.  'M').  You will be able to
  93.        change the Autoexec.bat, Config.sys, and add files directly
  94.        to the CD-ROM VMB Image file that has been created on the
  95.        hard drive (this will be Drive A).  (Instructions below)
  96.  
  97.  
  98.        ****** P A R T A ******
  99.  
  100.        1. On the VMB diskette create the following CONFIG.SYS file
  101.        with a text editor:
  102.  
  103.        DEVICE=FSFILTER.SYS DEVICE=HIMEM.SYS DEVICE=EMM386.SYS
  104.        DOS=HIGH,UMB DEVICE=ANSI.SYS DEVICE=LPTDD.SYS DEVICE=(CDROM
  105.        DRIVER) Ex:  DEVICE=TSLCDR.SYS FILES=40 BUFFERS=30
  106.        LASTDRIVE=Z
  107.  
  108.        2. On the CD-ROM VMB diskette create the following
  109.        AUTOEXEC.BAT file with a text editor:
  110.  
  111.        ECHO OFF PROMPT $P$G MSCDEX /D:(DRIVER NAME) /E Ex:
  112.        /D:TSLCDR.SYS /E SET COMSPEC=C:\CDROM\COMMAND.COM MOUSE.COM
  113.        PATH C:\;C:\VMB C:  CD\CD-ROM CDROM.BAT
  114.  
  115.        3. Make a directory called C:\CD-ROM to house the CD-ROM
  116.        VMB image.  In the C:\CD-ROM directory create the following
  117.        CD-ROM.BAT file with a text editor:
  118.  
  119.        C:\OS2\MDOS\FSACCESS A:  CD\
  120.  
  121.        This file will allow you to read/write to Drive A.
  122.        Otherwise, a 'DIR' on Drive A, will show up as the Image
  123.        files.
  124.  
  125.        4. Copy COMMAND.COM from the CD-ROM VMB diskette to the
  126.        CD-ROM directory.  Go to C:\CD-ROM and type:
  127.  
  128.        VMDISK A:  CD-ROM.IMG <enter>
  129.  
  130.        This will create an image of the diskette you created.  The
  131.        Image File will be named CD-ROM.IMG and will be located in
  132.        the C:\CD-ROM directory.
  133.  
  134.        5. Remove diskette from Drive A.
  135.  
  136.        6. When completed, return to the Desktop.
  137.  
  138.  
  139.        ****** P A R T B ******
  140.  
  141.        1. On the CD-ROM VMB diskette create the following
  142.        AUTOEXEC.BAT file with a text editor:
  143.  
  144.        ECHO OFF PROMPT $P$G MSCDEX /D:(DRIVER NAME) /E Ex:
  145.        /D:TSLCDR.SYS /E MOUSE.COM PATH C:\;C:\CD-ROM FSACCESS M=A
  146.        C:  CD\CD-ROM
  147.  
  148.        NOTE:  If you start DOS from an Image File, you cannot use
  149.        physical Drive A until you release the Image File.
  150.        FSACCESS M=A releases Drive A and assigns "M", or whatever
  151.        unused logical drive you select to name in its place.
  152.  
  153.        LAN USERS:  Do not use FSACCESS Z=A if your LAN assigns
  154.        logical Drive Z as the network drive.
  155.  
  156.        2. On the CD-ROM VMB diskette create the following
  157.        CONFIG.SYS file with a text editor:
  158.  
  159.        DEVICE=FSFILTER.SYS DEVICE=HIMEM.SYS DEVICE=EMM386.SYS
  160.        DOS=HIGH,UMB DEVICE=ANSI.SYS DEVICE=LPTDD.SYS
  161.        DEVICE=(CD-ROM DRIVER) Ex:  DEVICE = TSLCDR.SYS FILES=40
  162.        BUFFERS=30 LASTDRIVE=Z
  163.  
  164.        NOTE:  Assigning LASTDRIVE=Z (for VMB purposes only) allows
  165.        DOS Applications to read/write to physical Drive A - which
  166.        will be logical Drive M. When retrieving/saving a file
  167.        from/to physical Drive A, rename the APPLICATION's drive
  168.        designation to "M" instead of "A".
  169.  
  170.        3. Make a directory called C:\CDROM to house the CDROM VMB
  171.        image.  Copy the COMMAND.COM from the CDROM VMB diskette to
  172.        the CDROM directory.  Go to C:\CDROM and type:
  173.  
  174.        VMDISK A:  CDROM.IMG <enter>
  175.  
  176.        This will create an image of the diskette you created.  The
  177.        Image File will be named CDROM.IMG and will be located in
  178.        the C:\CDROM directory.
  179.  
  180.        4. Remove diskette from Drive A.
  181.  
  182.        5. When completed, return to the Desktop.
  183.  
  184.  
  185.        CREATE A CDROM VMB DESKTOP ICON
  186.        ----------------------------------------------------------------
  187.  
  188.        1. Open the OS/2 SYSTEM folder.
  189.  
  190.        a. Double click on the COMMAND PROMPTS Icon.
  191.        b. Copy the DOS FULL SCREEN icon to the Desktop by
  192.        holding down the CTRL key and dragging the icon to
  193.        the Desktop.
  194.        c. Close the "COMMAND PROMPTS" and the OS/2 SYSTEM
  195.        Folder.
  196.  
  197.        2. Change the DOS SETTINGS For the CD-ROM VMB Icon.
  198.  
  199.        a. Select the DOS FULLSCREEN icon by clicking on it once.
  200.        b. Bring up its menu by clicking the right mouse button once.
  201.        c. Click on the ARROW on the "OPEN" line.
  202.        d. Select SETTINGS.
  203.        e. Select SESSION.
  204.        f. Select DOS SETTINGS.
  205.        g. Change the following settings:
  206.  
  207.        DOS_UMB to:  ON DOS_HIGH to:  ON DOS_STARTUP_DRIVE to:
  208.        C:\CDROM\CDROM.IMG XMS_MEMORY_LIMIT to:  Default is 2048
  209.        (Minimum requirement - increase as needed)
  210.  
  211.        3. SAVE the settings.
  212.  
  213.        4. Select GENERAL and change the TITLE field to "CDROM" or
  214.        whatever name you wish to call your Desktop Icon.
  215.  
  216.        5. Click twice in the upper left hand corner to close the
  217.        Window.
  218.  
  219.        6. Time to test all this stuff out.  Double click on your
  220.        new DOS CDROM VMB Desktop Icon, and there you are.
  221.  
  222.        7. To EXIT the CDROM VMB, type CTRL+ESC, from the 'Window
  223.        List, the 'CD-ROM VMB' session, click the right mouse
  224.        button, and Select 'Close'.
  225.  
  226.        TROUBLE SHOOTING:
  227.  
  228.        If you have problems with the above steps, please double
  229.        check all your file and directory names, especially the
  230.        ones in the DOS SETTINGS.
  231.  
  232.        If you need more assistance:
  233.  
  234.        A. Open the MASTER HELP INDEX and choose SEARCH TOPICS.
  235.        B. Enter "STARTING FROM AN IMAGE FILE" in the box.
  236.        C. Scroll down to the DOS section and double click
  237.        on the STARTING FROM AN IMAGE FILE and read the
  238.        information presented there.
  239.  
  240.  
  241.        * IBM DOSAP ANALYST TEAM - OS/2 TECHNICAL SUPPORT - 4/94
  242. 12/31/99
  243.