home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAXES / OS2CVMB.FAX < prev    next >
Encoding:
Text File  |  1994-12-20  |  8.7 KB  |  257 lines

  1. OS2CVMB - CDROM VMB
  2. 11/29/94
  3.  
  4. ================================================================
  5.              SETTING UP A CD-ROM IN A VMB ENVIRONMENT
  6. ================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. ----------------------------------------------------------------
  10.  
  11.  
  12.              SETTING UP A CD-ROM IN A VMB ENVIRONMENT
  13.                   VMB - (Virtual Machine Boot)
  14.  
  15.                        General Guidelines
  16.  
  17. SECTION I - BEFORE YOU BEGIN
  18.  
  19. 1.  Check with vendor if CD-ROM device has an OS/2 supported
  20.     device drivers.  Use the device driver which corresponds
  21.     to the OS/2 version you are running on your system.
  22.  
  23. 2.  If the CD-ROM device is not currently compatible with OS/2,
  24.     you should set up a single session VMB to run your CD-ROM.
  25.  
  26.     A.  If you use DOS 5.0 to create a CD-ROM VMB, you need the
  27.         file MSCDEX.EXE V2.21.  This should be shipped with
  28.         your CD-ROM. If not, you can also obtain it through your
  29.         vendor, or download it from IBM PCC BBS, (919) 517-0001.
  30.  
  31.     B.  If you use MSDOS 6.0 to create a VMB, you need the
  32.         file MSCDEX.EXE V2.22.  That file comes with MSDOS 6.0
  33.         and is located in the \DOS directory.
  34.  
  35.     C.  Follow the instructions below to create a CD-ROM VMB.
  36.  
  37.  
  38.  SECTION II - CREATE A CD-ROM VMB DISKETTE
  39.  
  40. 1.  Each Image File you create equals the size of the diskette
  41.     you use, for example 360k, 720k, or 1.44MB high density
  42.     diskette.  There are two ways to create a CD-ROM VMB.
  43.  
  44.     A.  Start the system with DOS 5.0/6.0 diskette with
  45.         FORMAT.COM command in AUTOEXEC.BAT's PATH statement.
  46.         Replace the diskette in Drive A: with diskette you are
  47.         using for CD-ROM VMB.  At C:> Type: FORMAT A: /S
  48.  
  49.     B.  If you have pure DOS 5.0/6.0 installed on your computer,
  50.         start from there.  Insert blank formatted diskette
  51.         in Drive A: and type: SYS A:\  from the DOS root
  52.         directory.  This places COMMAND.COM on the diskette.
  53.  
  54.  
  55.  NOTE:  After creating VMB diskette, you can:
  56.  
  57.         A.  Start from OS/2's Command Prompts Icon View
  58.             (DOS from Drive A:).
  59.  
  60.         B.  Start from CD-ROM VMB Image Icon on Desktop that
  61.             you created.
  62.  
  63. 2.  Start in OS/2 and copy following files from OS2\MDOS
  64.     directory to the CD-ROM VMB diskette:
  65.  
  66.                   ANSI.SYS
  67.                   FSFILTER.SYS
  68.                   FSACCESS.EXE
  69.                   EMM386.SYS
  70.                   HIMEM.SYS
  71.                   LPTDD.SYS
  72.                   MOUSE.COM
  73.                  (CD-ROM DRIVER)         -Ex:  TSLCDR.SYS
  74.                   MSCDEX.EXE
  75.  
  76.     You can add any DOS 5.0/6.0 files to this diskette after the
  77.     CD-ROM VMB is running.
  78.  
  79. 3.  You can create the CD-ROM VMB image in two ways:
  80.  
  81. PART A:  You can read/write to Drive A:, but you cannot change
  82.          AUTOEXEC.BAT, CONFIG.SYS, or add files directly to the
  83.          CD-ROM VMB Image file on the hard disk.  Use a text
  84.          editor to create files.
  85.  
  86. 1A.  On VMB diskette create the following CONFIG.SYS file:
  87.  
  88.               DEVICE = FSFILTER.SYS
  89.               DEVICE = HIMEM.SYS
  90.               DEVICE = EMM386.SYS
  91.               DOS = HIGH,UMB
  92.               DEVICE = ANSI.SYS
  93.               DEVICE = LPTDD.SYS
  94.               DEVICE = (CD-ROM DRIVER) -Ex: DEVICE = TSLCDR.SYS
  95.               FILES = 40
  96.               BUFFERS = 30
  97.               LASTDRIVE = Z
  98.  
  99. 2A.  On CD-ROM VMB diskette create following AUTOEXEC.BAT file:
  100.  
  101.               ECHO OFF
  102.               PROMPT $P$G
  103.               MSCDEX /D:(DRIVER NAME) /E -Ex: /D:TSLCDR.SYS /E
  104.               SET COMSPEC=C:\CDROM\COMMAND.COM
  105.               MOUSE.COM
  106.               PATH C:\;C:\VMB
  107.               C:
  108.               CD\CDROM
  109.               CDROM.BAT
  110.  
  111. 3A.  Make a directory called C:\CDROM to house the CD-ROM VMB
  112.      image. In the C:\CDROM directory create the following
  113.      CDROM.BAT file:
  114.  
  115.               C:\OS2\MDOS\FSACCESS A:
  116.               CD\
  117.  
  118.      This file lets you to read/write to Drive A:.  Otherwise,
  119.      a DIR on Drive A:, shows up as the Image files.
  120.  
  121. 4A.  Copy COMMAND.COM from CD-ROM VMB diskette to CDROM dir.
  122.      Go to C:\CDROM and type:
  123.  
  124.               VMDISK A: CDROM.IMG  and press Enter
  125.  
  126.      This creates an image of diskette you created.  Image file
  127.      is CDROM.IMG and is located in C:\CDROM dir
  128.  
  129. 5A.  Remove diskette from Drive A:
  130.  
  131.  
  132.  
  133. PART B:  You can read/write to an alternate drive other than
  134.          Drive A:, for example M:.  You can change the
  135.          AUTOEXEC.BAT, CONFIG.SYS, and add files directly to the
  136.          CD-ROM VMB Image file on the hard disk, this is Drive A:
  137.          Use a text editor to create the files.
  138.  
  139. 1B.  On CD-ROM VMB diskette create following AUTOEXEC.BAT file:
  140.  
  141.              ECHO OFF
  142.              PROMPT $P$G
  143.              MSCDEX /D:(DRIVER NAME) /E    -Ex: /D:TSLCDR.SYS /E
  144.              MOUSE.COM
  145.              PATH C:\;C:\CDROM
  146.              FSACCESS M=A
  147.              C:
  148.              CD\CDROM
  149.  
  150.      NOTE:  If you start DOS from an Image File, you cannot use
  151.             physical Drive A: until you release the Image File.
  152.             FSACCESS M=A releases Drive A: and assigns M:, or
  153.             whatever unused logical drive you select to name in
  154.             its place.
  155.  
  156.      LAN USERS:  Do not use FSACCESS Z=A if Lan assigns logical
  157.                  Drive Z: as the network drive.
  158.  
  159. 2B.  On CD-ROM VMB diskette create the following CONFIG.SYS file:
  160.  
  161.                 DEVICE = FSFILTER.SYS
  162.                 DEVICE = HIMEM.SYS
  163.                 DEVICE = EMM386.SYS
  164.                 DOS = HIGH,UMB
  165.                 DEVICE = ANSI.SYS
  166.                 DEVICE = LPTDD.SYS
  167.                 DEVICE = (CD-ROM DRIVER) Ex: DEVICE = TSLCDR.SYS
  168.                 FILES = 40
  169.                 BUFFERS = 30
  170.                 LASTDRIVE = Z
  171.  
  172.       NOTE:  Assigning LASTDRIVE = Z (for VMB purposes only)
  173.              allows DOS Applications to read/write to physical
  174.              Drive A:, which is logical Drive M:.  When
  175.              retrieving/saving a file from/to physical Drive A:,
  176.              rename APPLICATION's drive designation to M:
  177.              instead of A:.
  178.  
  179. 3B.  Make directory called C:\CDROM to house CD-ROM VMB image.
  180.      Copy COMMAND.COM from the CD-ROM VMB diskette to the
  181.      CDROM directory. Go to C:\CDROM and Type,
  182.  
  183.                 VMDISK A: CDROM.IMG  and press Enter
  184.  
  185.      This creates an image of diskette you created.  The Image
  186.      Filename is CDROM.IMG and is located in C:\CDROM directory
  187.  
  188. 4B.  Remove diskette from Drive A:.
  189.  
  190. 5B.  When completed, return to the Desktop.
  191.  
  192.  
  193.  
  194. SECTION III - CREATE A CD-ROM VMB DESKTOP ICON
  195.  
  196. 1.  Open the OS/2 SYSTEM folder.
  197.  
  198.     A.  Select the COMMAND PROMPTS Icon.
  199.  
  200.     B.  Copy the DOS FULL SCREEN icon to Desktop by holding
  201.         down the Ctrl key and dragging the icon to the Desktop.
  202.  
  203.     C.  Close the COMMAND PROMPTS and the OS/2 SYSTEM Folder.
  204.  
  205.  
  206. 2.  Change the DOS SETTINGS For the CD-ROM VMB Icon
  207.  
  208.     A.  Select the DOS FULLSCREEN icon by clicking on it once.
  209.  
  210.     B.  Click the right mouse button once to display the menu.
  211.  
  212.     C.  Select OPEN.
  213.  
  214.     D.  Select SETTINGS.
  215.  
  216.     E.  Select SESSION.
  217.  
  218.     F.  Select DOS SETTINGS.
  219.  
  220.     G.  Change the following settings:
  221.  
  222.          DOS_UMB              to:   ON
  223.          DOS_HIGH             to:   ON
  224.          DOS_STARTUP_DRIVE    to:   C:\CDROM\CDROM.IMG
  225.          XMS_MEMORY_LIMIT     to:   Default is 2048
  226.                       (Minimum requirement - increase as needed)
  227.  
  228. 3.  Select SAVE.
  229.  
  230. 4.  Select GENERAL and change the TITLE field to CDROM or
  231.     whatever name you wish to call your Desktop Icon.
  232.  
  233. 5.  Click twice in upper left hand corner to close the Window.
  234.  
  235. 6.  Double click on your new DOS CD-ROM VMB Desktop Icon.
  236.  
  237. 7.  To EXIT the CD-ROM VMB, PRESS Ctrl+Esc, for the Window
  238.     List.  Double click on the CD-ROM VMB session, click the
  239.     right mouse button, and  Select Close.
  240.  
  241.  
  242.   NOTE:  If you have problems with above steps, check all your
  243.          files and directory names, especially the ones in DOS
  244.          SETTINGS.  If you need assistance, open the Master Help
  245.          Index and choose Search Topics.  Type:   Starting
  246.          from an image file, in the entry field, scroll down
  247.          to DOS section and double click on the Starting
  248.          from an image file to read the information.
  249.  
  250.  
  251. ----------------------------------------------------------------
  252. IBM disclaims all warranties, whether express or implied,
  253. including without limitation, warranties of fitness and
  254. merchantability with respect to the information in this document.
  255. By furnishing this document, IBM grants no licenses to any
  256. related patents or copyrights.
  257.