home *** CD-ROM | disk | FTP | other *** search
- File:OSDIDSCD.fax
-
- TITLE: SETTING UP A CD-ROM IN A VMB (Virtual Machine
- Boot) ENVIRONMENT
-
- DESCRIPTION OF SYMPTOMS:
-
- Unable to run an unsupported CD-ROM under OS/2.
-
- SUMMARY OF RESOLUTION:
-
- If you cannot access your CD-ROM in OS/2 and are running
- only OS/2 on your system, you can still access your CD-ROM
- by setting it up to run in a VMB. The instructions below
- will enable you to create a DOS bootable diskette
- containing the necessary CD-ROM drivers which allow you to
- boot DOS from drive A and access the CD-ROM.
-
- Before you begin check with your vendor first to see if
- your CD-ROM device has OS/2 - 2.0 or 2.1 supported device
- drivers. Use the device driver which corresponds to the
- OS/2 version you are currently running on your system. At
- the end of this text is a list of supported device drivers
- for each version of OS/2.
-
- If your CD-ROM device is not OS/2 supported, you will then
- have to set up a single session VMB to run your CD-ROM.
-
- If you use DOS 5.0 to create the CD-ROM VMB, you will need
- the file "MSCDEX.EXE V2.21". This should be shipped with
- your CD- ROM. You can also obtain it through your vendor,
- or you can download it from the PCC BBS - (919) 517-0001.
-
- If you use MSDOS 6.0 to create the VMB, you will need the
- file "MSCDEX.EXE V2.22". That file comes with MSDOS 6.0,
- and is located in the \DOS directory.
-
- Proceed with creating the CD-ROM VMB from the instructions
- below.
-
- DETAILS OF RESOLUTION:
-
- CREATING A CD-ROM VMB DISKETTE
- ---------------------------------------------------------------
-
- Instructions for creating a bootable 360k, or a 720k, or a
- 1.44mb high density diskette. Each Image File you create
- will equal the size of the diskette you use. There are two
- different ways to do this:
-
- A. Boot with a DOS 5.0/6.0 bootable diskette with the
- FORMAT.COM command in the AUTOEXEC.BAT's PATH statement on
- the diskette. Replace the bootable diskette in Drive A
- with the diskette you want to use for the CD-ROM VMB. At
- the C> prompt type: FORMAT A: /S
-
- B. If you have pure DOS 5.0/6.0 installed on your computer,
- boot up from there. Insert the blank formatted diskette
- you want to use for the CD-ROM VMB in Drive A. At the C>
- prompt type: SYS A: (COMMAND.COM should be on your
- diskette when you have completed this process).
-
- NOTE: When you have finished creating the VMB bootable
- diskette, you will be able to:
-
- * Boot from OS/2's Command Prompts Icon View (DOS from
- Drive A). * Boot from the CD-ROM VMB Image Icon on your
- Desktop that you created.
-
- 1. Boot up in OS/2 and copy the following files from the
- OS2\MDOS directory to the CD-ROM VMB diskette:
-
- ANSI.SYS FSFILTER.SYS FSACCESS.EXE EMM386.SYS HIMEM.SYS
- LPTDD.SYS MOUSE.COM (CD-ROM DRIVER) Ex: TSLCDR.SYS
- MSCDEX.EXE
-
- You may add to this diskette any number of DOS 5.0/6.0
- files you want to use, but do not do this until the CD-ROM
- VMB is up and running.
-
- 2. You will be able to create the CD-ROM VMB image in two
- different ways.
-
- PART A: This will allow you to read/write to Drive A, but
- you will not be able to change the Autoexec.bat, Config.sys
- or add files directly to the CD-ROM VMB Image file that has
- been created on the hard drive.(Instructions below)
-
- PART B: This will allow you to read/write to an alternate
- drive other than Drive A (i.e. 'M'). You will be able to
- change the Autoexec.bat, Config.sys, and add files directly
- to the CD-ROM VMB Image file that has been created on the
- hard drive (this will be Drive A). (Instructions below)
-
-
- ****** P A R T A ******
-
- 1. On the VMB diskette create the following CONFIG.SYS file
- with a text editor:
-
- DEVICE=FSFILTER.SYS DEVICE=HIMEM.SYS DEVICE=EMM386.SYS
- DOS=HIGH,UMB DEVICE=ANSI.SYS DEVICE=LPTDD.SYS DEVICE=(CDROM
- DRIVER) Ex: DEVICE=TSLCDR.SYS FILES=40 BUFFERS=30
- LASTDRIVE=Z
-
- 2. On the CD-ROM VMB diskette create the following
- AUTOEXEC.BAT file with a text editor:
-
- ECHO OFF PROMPT $P$G MSCDEX /D:(DRIVER NAME) /E Ex:
- /D:TSLCDR.SYS /E SET COMSPEC=C:\CDROM\COMMAND.COM MOUSE.COM
- PATH C:\;C:\VMB C: CD\CD-ROM CDROM.BAT
-
- 3. Make a directory called C:\CD-ROM to house the CD-ROM
- VMB image. In the C:\CD-ROM directory create the following
- CD-ROM.BAT file with a text editor:
-
- C:\OS2\MDOS\FSACCESS A: CD\
-
- This file will allow you to read/write to Drive A.
- Otherwise, a 'DIR' on Drive A, will show up as the Image
- files.
-
- 4. Copy COMMAND.COM from the CD-ROM VMB diskette to the
- CD-ROM directory. Go to C:\CD-ROM and type:
-
- VMDISK A: CD-ROM.IMG <enter>
-
- This will create an image of the diskette you created. The
- Image File will be named CD-ROM.IMG and will be located in
- the C:\CD-ROM directory.
-
- 5. Remove diskette from Drive A.
-
- 6. When completed, return to the Desktop.
-
-
- ****** P A R T B ******
-
- 1. On the CD-ROM VMB diskette create the following
- AUTOEXEC.BAT file with a text editor:
-
- ECHO OFF PROMPT $P$G MSCDEX /D:(DRIVER NAME) /E Ex:
- /D:TSLCDR.SYS /E MOUSE.COM PATH C:\;C:\CD-ROM FSACCESS M=A
- C: CD\CD-ROM
-
- NOTE: If you start DOS from an Image File, you cannot use
- physical Drive A until you release the Image File.
- FSACCESS M=A releases Drive A and assigns "M", or whatever
- unused logical drive you select to name in its place.
-
- LAN USERS: Do not use FSACCESS Z=A if your LAN assigns
- logical Drive Z as the network drive.
-
- 2. On the CD-ROM VMB diskette create the following
- CONFIG.SYS file with a text editor:
-
- DEVICE=FSFILTER.SYS DEVICE=HIMEM.SYS DEVICE=EMM386.SYS
- DOS=HIGH,UMB DEVICE=ANSI.SYS DEVICE=LPTDD.SYS
- DEVICE=(CD-ROM DRIVER) Ex: DEVICE = TSLCDR.SYS FILES=40
- BUFFERS=30 LASTDRIVE=Z
-
- NOTE: Assigning LASTDRIVE=Z (for VMB purposes only) allows
- DOS Applications to read/write to physical Drive A - which
- will be logical Drive M. When retrieving/saving a file
- from/to physical Drive A, rename the APPLICATION's drive
- designation to "M" instead of "A".
-
- 3. Make a directory called C:\CDROM to house the CDROM VMB
- image. Copy the COMMAND.COM from the CDROM VMB diskette to
- the CDROM directory. Go to C:\CDROM and type:
-
- VMDISK A: CDROM.IMG <enter>
-
- This will create an image of the diskette you created. The
- Image File will be named CDROM.IMG and will be located in
- the C:\CDROM directory.
-
- 4. Remove diskette from Drive A.
-
- 5. When completed, return to the Desktop.
-
-
- CREATE A CDROM VMB DESKTOP ICON
- ----------------------------------------------------------------
-
- 1. Open the OS/2 SYSTEM folder.
-
- a. Double click on the COMMAND PROMPTS Icon.
- b. Copy the DOS FULL SCREEN icon to the Desktop by
- holding down the CTRL key and dragging the icon to
- the Desktop.
- c. Close the "COMMAND PROMPTS" and the OS/2 SYSTEM
- Folder.
-
- 2. Change the DOS SETTINGS For the CD-ROM VMB Icon.
-
- a. Select the DOS FULLSCREEN icon by clicking on it once.
- b. Bring up its menu by clicking the right mouse button once.
- c. Click on the ARROW on the "OPEN" line.
- d. Select SETTINGS.
- e. Select SESSION.
- f. Select DOS SETTINGS.
- g. Change the following settings:
-
- DOS_UMB to: ON DOS_HIGH to: ON DOS_STARTUP_DRIVE to:
- C:\CDROM\CDROM.IMG XMS_MEMORY_LIMIT to: Default is 2048
- (Minimum requirement - increase as needed)
-
- 3. SAVE the settings.
-
- 4. Select GENERAL and change the TITLE field to "CDROM" or
- whatever name you wish to call your Desktop Icon.
-
- 5. Click twice in the upper left hand corner to close the
- Window.
-
- 6. Time to test all this stuff out. Double click on your
- new DOS CDROM VMB Desktop Icon, and there you are.
-
- 7. To EXIT the CDROM VMB, type CTRL+ESC, from the 'Window
- List, the 'CD-ROM VMB' session, click the right mouse
- button, and Select 'Close'.
-
- TROUBLE SHOOTING:
-
- If you have problems with the above steps, please double
- check all your file and directory names, especially the
- ones in the DOS SETTINGS.
-
- If you need more assistance:
-
- A. Open the MASTER HELP INDEX and choose SEARCH TOPICS.
- B. Enter "STARTING FROM AN IMAGE FILE" in the box.
- C. Scroll down to the DOS section and double click
- on the STARTING FROM AN IMAGE FILE and read the
- information presented there.
-
-
- * IBM DOSAP ANALYST TEAM - OS/2 TECHNICAL SUPPORT - 4/94
-