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

  1. Setting up a CD-ROM in a VMB         (CP 4/29/94
  2.  
  3. OS2CVMB.FAX                          CDROM VMB
  4.  
  5.  
  6.  
  7. ====================================================================
  8.  
  9.              SETTING UP A CDROM IN A VMB ENVIRONMENT
  10.                   VMB - (Virtual Machine Boot)
  11.  
  12.                        General Guidelines
  13.  
  14. SECTION I - BEFORE YOU BEGIN
  15.  
  16. 1.  Check with vendor first, if your CD-ROM device has OS/2,
  17.     2.0 or 2.1 supported device drivers.  Use the device driver
  18.     which corresponds to the OS/2 version you are currently
  19.     running on your system.
  20.  
  21. 2.  If your CD-ROM device is not OS/2 supported, you will then
  22.     have to set up a single session VMB to run your CD-ROM.
  23.  
  24.  
  25.     a.  If you use DOS 5.0 to create a CD-ROM VMB, you will need
  26.         the file "MSCDEX.EXE V2.21".  This should be shipped with
  27.         your CD-ROM.  You can also obtain it through your vendor,
  28.         or you can download from the IBM Bulletin Board
  29.                   (BBS) -  (919) 517-0001.
  30.  
  31.     b.  If you use MSDOS 6.0 to create a VMB, you will 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.  
  36.     c.  Proceed with creating CD-ROM VMB from instructions below.
  37.  
  38.  
  39.  SECTION II - CREATE A CD-ROM VMB DISKETTE
  40.  
  41.  1.  Instructions for creating a bootable 360k, or a 720k, or
  42.      1.44mb high density diskette.  Each Image File you create
  43.      will equal the size of the diskette you use.  There are
  44.      two different ways to do this:
  45.  
  46.      a.  Boot with DOS 5.0/6.0 bootable diskette with FORMAT.COM
  47.          command in AUTOEXEC.BAT's PATH statement on diskette.
  48.          Replace bootable diskette in Drive A with diskette you
  49.          are using for CD-ROM VMB.  At C> type, "FORMAT A: /S".
  50.      b.  If you have pure DOS 5.0/6.0 installed on your computer,
  51.          boot up from there.  Insert blank formatted diskette
  52.          you want to use for CD-ROM VMB in Drive A, and from DOS
  53.          root directory type "SYS A:".  COMMAND.COM should be on
  54.          your diskette when you have completed this process.
  55.  
  56.  
  57.  NOTE:  When you have finished creating VMB bootable diskette,
  58.         you will be able to:
  59.  
  60.         a.  Boot from OS/2's Command Prompts Icon View
  61.             (DOS from Drive A).
  62.         b.  Boot from CD-ROM VMB Image Icon on Desktop that
  63.             you created.
  64.  
  65.  2.  Boot up in OS/2 and copy following files from OS2\MDOS
  66.      directory to the CD-ROM VMB diskette:
  67.  
  68.                   ANSI.SYS
  69.                   FSFILTER.SYS
  70.                   FSACCESS.EXE
  71.                   EMM386.SYS
  72.                   HIMEM.SYS
  73.                   LPTDD.SYS
  74.                   MOUSE.COM
  75.                  (CD-ROM DRIVER)         -Ex:  TSLCDR.SYS
  76.                   MSCDEX.EXE
  77.  
  78.      You may add to this diskette any number of DOS 5.0/6.0
  79.      files you want to use, but do not do this until the
  80.      CD-ROM VMB is up and running.
  81.  
  82.  
  83.  3.  You will be able to create the CD-ROM VMB image in two
  84.      different ways.
  85.  
  86.      PART A:  This allows you to read/write to Drive A, but you
  87.               will not be able to change AUTOEXEC.BAT,
  88.               CONFIG.SYS, or add files directly to the CD-ROM
  89.               VMB Image file that has been created on the hard
  90.               drive.     (Instructions below)
  91.  
  92.      PART B:  This allows you to read/write to an alternate
  93.               drive other than Drive A (i.e. 'M'). You will be
  94.               able to change the AUTOEXEC.BAT, CONFIG.SYS, and
  95.               add files directly to the CD-ROM VMB Image file
  96.               that has been created on the hard drive (this will
  97.               be Drive A).     (Instructions below)
  98.  
  99.  
  100.  
  101.                         ******  P A R T   A  ******
  102.  
  103.  
  104.  1A.  On VMB diskette create the following CONFIG.SYS file with
  105.       a text editor:
  106.  
  107.               DEVICE = FSFILTER.SYS
  108.               DEVICE = HIMEM.SYS
  109.               DEVICE = EMM386.SYS
  110.               DOS = HIGH,UMB
  111.               DEVICE = ANSI.SYS
  112.               DEVICE = LPTDD.SYS
  113.               DEVICE = (CD-ROM DRIVER) -Ex: DEVICE = TSLCDR.SYS
  114.               FILES = 40
  115.               BUFFERS = 30
  116.               LASTDRIVE = Z
  117.  
  118.  
  119.  2A.  On CD-ROM VMB diskette create following AUTOEXEC.BAT file
  120.       with a text editor:
  121.  
  122.               ECHO OFF
  123.               PROMPT $P$G
  124.               MSCDEX /D:(DRIVER NAME) /E -Ex: /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 house the CD-ROM VMB
  134.       image. In the C:\CDROM directory create the following
  135.       CDROM.BAT file with a text editor:
  136.  
  137.  
  138.               C:\OS2\MDOS\FSACCESS A:
  139.               CD\
  140.  
  141.       This file allows you to read/write to Drive A.  Otherwise,
  142.       a 'DIR' on Drive A, will show up as the Image files.
  143.  
  144.  
  145.  4A.  Copy COMMAND.COM from CD-ROM VMB diskette to CDROM dir.
  146.       Go to C:\CDROM and type:
  147.  
  148.               VMDISK A: CDROM.IMG  <enter>
  149.  
  150.       This creates an image of diskette you created.  Image file
  151.       will be named CDROM.IMG and is located in C:\CDROM dir
  152.  
  153.  
  154.  5A.  Remove diskette from Drive A.
  155.  
  156.  6A.  When completed, return to the Desktop.
  157.  
  158.  
  159.                        ******  P A R T   B  ******
  160.  
  161.  
  162. 1B.  On the CD-ROM VMB diskette create following AUTOEXEC.BAT
  163.      file with a text editor:
  164.  
  165.  
  166.              ECHO OFF
  167.              PROMPT $P$G
  168.              MSCDEX /D:(DRIVER NAME) /E    -Ex: /D:TSLCDR.SYS /E
  169.              MOUSE.COM
  170.              PATH C:\;C:\CDROM
  171.              FSACCESS M=A
  172.              C:
  173.              CD\CDROM
  174.  
  175.      NOTE:  If you start DOS from an Image File, you cannot use
  176.             physical Drive A until you release the Image File.
  177.             FSACCESS M=A releases Drive A and assigns "M", or
  178.             what unused logical drive you select to name in its
  179.             place.
  180.  
  181.  
  182.       LAN USERS:  Do not use FSACCESS Z=A if Lan assigns logical
  183.                   Drive Z as the network drive.
  184.  
  185.  
  186.  2B.  On the CD-ROM VMB diskette create the following CONFIG.SYS
  187.       file with a text editor:
  188.  
  189.                 DEVICE = FSFILTER.SYS
  190.                 DEVICE = HIMEM.SYS
  191.                 DEVICE = EMM386.SYS
  192.                 DOS = HIGH,UMB
  193.                 DEVICE = ANSI.SYS
  194.                 DEVICE = LPTDD.SYS
  195.                 DEVICE = (CD-ROM DRIVER) Ex: DEVICE = TSLCDR.SYS
  196.                 FILES = 40
  197.                 BUFFERS = 30
  198.                 LASTDRIVE = Z
  199.  
  200.       NOTE:  Assigning LASTDRIVE = Z (for VMB purposes only)
  201.              allows DOS Applications to read/write to physical
  202.              Drive A - which will be logical Drive M.  When
  203.              retrieving/saving a file from/to physical Drive A,
  204.              rename APPLICATION's drive designation to "M"
  205.              instead of "A".
  206.  
  207.  
  208.  3B.  Make directory called C:\CDROM to house CD-ROM VMB image.
  209.       Copy COMMAND.COM from the CD-ROM VMB diskette to the
  210.       CDROM directory. Go to C:\CDROM and type:
  211.  
  212.                 VMDISK A: CDROM.IMG  <enter>
  213.  
  214.       This creates an image of diskette you created.  The Image
  215.       Filename is CDROM.IMG and is located in C:\CDROM directory
  216.  
  217.  
  218.  4B.  Remove diskette from Drive A.
  219.  
  220.  5B.  When completed, return to the Desktop.
  221.  
  222.  
  223. SECTION III - CREATE A CD-ROM VMB DESKTOP ICON
  224.  
  225.  
  226. 1.  Open the OS/2 SYSTEM folder.
  227.  
  228.     a.  Double click on the COMMAND PROMPTS Icon.
  229.  
  230.     b.  Copy the DOS FULL SCREEN icon to Desktop by holding
  231.         down the CTRL key and dragging the icon to the Desktop.
  232.  
  233.     c.  Close the "COMMAND PROMPTS" and the OS/2 SYSTEM Folder.
  234.  
  235.  
  236. 2.  Change the DOS SETTINGS For the CD-ROM VMB Icon
  237.  
  238.     a.  Select the DOS FULLSCREEN icon by clicking on it once.
  239.  
  240.     b.  Bring up menu by clicking the right mouse button once.
  241.  
  242.     c.  Click on the ARROW on the "OPEN" line.
  243.  
  244.     d.  Select SETTINGS.
  245.  
  246.     e.  Select SESSION.
  247.  
  248.     f.  Select DOS SETTINGS.
  249.  
  250.     g.  Change the following settings:
  251.  
  252.          DOS_UMB              to:   ON
  253.          DOS_HIGH             to:   ON
  254.          DOS_STARTUP_DRIVE    to:   C:\CDROM\CDROM.IMG
  255.          XMS_MEMORY_LIMIT     to:   Default is 2048
  256.                       (Minimum requirement - increase as needed)
  257.  
  258. 3.  SAVE the settings.
  259. 4.  Select GENERAL and change the TITLE field to "CDROM" or
  260.     whatever name you wish to call your Desktop Icon.
  261.  
  262. 5.  Click twice in upper left hand corner to close the Window.
  263.  
  264. 6.  Time to test all this stuff out.  Double click on your new
  265.     DOS CD-ROM VMB Desktop Icon, and there you are.
  266.  
  267. 7.  To EXIT the CD-ROM VMB, type CTRL-ESC, from the 'Window List,
  268.     the 'CD-ROM VMB' session, click the right mouse button, and
  269.     Select 'Close'.
  270.  
  271.  
  272.  
  273.  NOTE:  If you have problems with above steps, please double
  274.         check all your file and directory names, especially the
  275.         ones in DOS SETTINGS.  If you need more assistance, open
  276.         the MASTER HELP INDEX and choose SEARCH TOPICS, and then
  277.         enter "STARTING FROM AN IMAGE FILE" in the box, scroll
  278.         down to DOS section and double click on the STARTING
  279.         FROM AN IMAGE FILE and read the information presented.
  280.  
  281. ****************************************************************
  282. DISCLAIMER:  The information contained in this document is
  283. distributed "AS IS" without any warranties of any kind either
  284. express or implied.  IBM will not be responsible for any direct,
  285. incidental, consequential, special or indirect damages.  IBM
  286. EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY AND
  287. ANY IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
  288.  
  289. The use of this information or implementation of any of these
  290. techniques is sole responsibility of customer and depends on
  291. customer's ability to evaluate and integrate this information
  292. or implementation into customer's operational environment.
  293. ****************************************************************
  294. BOCA CBRX TEAM 4/94
  295. If you have any comments or suggestions concerning our Faxes,
  296. please send a note to:  IBM Corporation
  297.                         Boca CBRX Team
  298.                         P.O.  Box 1328
  299.                         Zip 1026
  300.                         Boca Raton, FL 33429
  301. 12/31/99
  302.