home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAX2 / OSDIDSCD.FAX < prev    next >
Encoding:
Text File  |  1994-07-20  |  9.3 KB  |  240 lines

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