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

  1. OSDACDRM - CDROM VMB
  2. 12/09/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.  
  16. SECTION I - BEFORE YOU BEGIN
  17. ----------------------------------------------------------------
  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 - CREATING 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
  100.           file:
  101.  
  102.               ECHO OFF
  103.               PROMPT $P$G
  104.               MSCDEX /D:(DRIVER NAME) /E -Ex: /D:TSLCDR.SYS /E
  105.               SET COMSPEC=C:\CDROM\COMMAND.COM
  106.               MOUSE.COM
  107.               PATH C:\;C:\VMB
  108.               C:
  109.               CD\CDROM
  110.               CDROM.BAT
  111.  
  112.      3A.  Make a directory called C:\CDROM to house the CD-ROM
  113.           VMB image.  In the C:\CDROM directory create the
  114.           following CDROM.BAT file:
  115.  
  116.               C:\OS2\MDOS\FSACCESS A:
  117.               CD\
  118.  
  119.      This file lets you to read/write to Drive A:.  Otherwise,
  120.      a DIR on Drive A:, shows up as the Image files.
  121.  
  122.      4A.  Copy COMMAND.COM from CD-ROM VMB diskette to CDROM dir.
  123.             Go to C:\CDROM and type:
  124.  
  125.               VMDISK A: CDROM.IMG  and press Enter
  126.  
  127.      This creates an image of diskette you created.  Image file
  128.      is CDROM.IMG and is located in C:\CDROM dir
  129.  
  130.      5A.  Remove diskette from Drive A:
  131.  
  132.  
  133.  
  134. PART B:  You can read/write to an alternate drive other than
  135.          Drive A:, for example M:.  You can change the
  136.          AUTOEXEC.BAT, CONFIG.SYS, and add files directly to the
  137.          CD-ROM VMB Image file on the hard disk, this is Drive A:
  138.          Use a text editor to create the files.
  139.  
  140.      1B.  On CD-ROM VMB diskette create following AUTOEXEC.BAT
  141.           file:
  142.  
  143.              ECHO OFF
  144.              PROMPT $P$G
  145.              MSCDEX /D:(DRIVER NAME) /E    -Ex: /D:TSLCDR.SYS /E
  146.              MOUSE.COM
  147.              PATH C:\;C:\CDROM
  148.              FSACCESS M=A
  149.              C:
  150.              CD\CDROM
  151.  
  152.      NOTE:  If you start DOS from an Image File, you cannot use
  153.             physical Drive A: until you release the Image File.
  154.             FSACCESS M=A releases Drive A: and assigns M:, or
  155.             whatever unused logical drive you select to name in
  156.             its place.
  157.  
  158.      LAN USERS:  Do not use FSACCESS Z=A if Lan assigns logical
  159.                  Drive Z: as the network drive.
  160.  
  161.      2B.  On CD-ROM VMB diskette create the following CONFIG.SYS
  162.           file:
  163.  
  164.                 DEVICE = FSFILTER.SYS
  165.                 DEVICE = HIMEM.SYS
  166.                 DEVICE = EMM386.SYS
  167.                 DOS = HIGH,UMB
  168.                 DEVICE = ANSI.SYS
  169.                 DEVICE = LPTDD.SYS
  170.                 DEVICE = (CD-ROM DRIVER) Ex: DEVICE = TSLCDR.SYS
  171.                 FILES = 40
  172.                 BUFFERS = 30
  173.                 LASTDRIVE = Z
  174.  
  175.       NOTE:  Assigning LASTDRIVE = Z (for VMB purposes only)
  176.              allows DOS Applications to read/write to physical
  177.              Drive A:, which is logical Drive M:.  When
  178.              retrieving/saving a file from/to physical Drive A:,
  179.              rename APPLICATION's drive designation to M:
  180.              instead of A:.
  181.  
  182.      3B.  Make directory called C:\CDROM to house CD-ROM VMB
  183.           image.  Copy COMMAND.COM from the CD-ROM VMB diskette
  184.           to the CDROM directory.  Go to C:\CDROM and Type,
  185.  
  186.                 VMDISK A: CDROM.IMG  and press Enter
  187.  
  188.      This creates an image of diskette you created.  The Image
  189.      Filename is CDROM.IMG and is located in C:\CDROM directory
  190.  
  191.      4B.  Remove diskette from Drive A:.
  192.  
  193.      5B.  When completed, return to the Desktop.
  194.  
  195.  
  196.  
  197. SECTION III - CREATE A CD-ROM VMB DESKTOP ICON
  198. ----------------------------------------------------------------
  199.  
  200. 1.  Open the OS/2 SYSTEM folder.
  201.  
  202.     A.  Select the COMMAND PROMPTS Icon.
  203.  
  204.     B.  Copy the DOS FULL SCREEN icon to Desktop by holding
  205.         down the Ctrl key and dragging the icon to the Desktop.
  206.  
  207.     C.  Close the COMMAND PROMPTS and the OS/2 SYSTEM Folder.
  208.  
  209.  
  210. 2.  Change the DOS SETTINGS For the CD-ROM VMB Icon
  211.  
  212.     A.  Select the DOS FULLSCREEN icon by clicking on it once.
  213.  
  214.     B.  Click the right mouse button once to display the menu.
  215.  
  216.     C.  Select OPEN.
  217.  
  218.     D.  Select SETTINGS.
  219.  
  220.     E.  Select SESSION.
  221.  
  222.     F.  Select DOS SETTINGS.
  223.  
  224.     G.  Change the following settings:
  225.  
  226.          DOS_UMB              to:   ON
  227.          DOS_HIGH             to:   ON
  228.          DOS_STARTUP_DRIVE    to:   C:\CDROM\CDROM.IMG
  229.          XMS_MEMORY_LIMIT     to:   Default is 2048
  230.                       (Minimum requirement - increase as needed)
  231.  
  232. 3.  Select SAVE.
  233.  
  234. 4.  Select GENERAL and change the TITLE field to CDROM or
  235.     whatever name you wish to call your Desktop Icon.
  236.  
  237. 5.  Click twice in upper left hand corner to close the Window.
  238.  
  239. 6.  Double click on your new DOS CD-ROM VMB Desktop Icon.
  240.  
  241. 7.  To EXIT the CD-ROM VMB, PRESS Ctrl+Esc, for the Window
  242.     List.  Double click on the CD-ROM VMB session, click the
  243.     right mouse button, and  Select Close.
  244.  
  245.  
  246.   NOTE:  If you have problems with above steps, check all your
  247.          files and directory names, especially the ones in DOS
  248.          SETTINGS.  If you need assistance, open the Master Help
  249.          Index and choose Search Topics.  Type:   Starting
  250.          from an image file, in the entry field, scroll down
  251.          to DOS section and double click on the Starting
  252.          from an image file to read the information.
  253.  
  254.