home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
CVMB.FAX
< prev
next >
Wrap
Text File
|
1994-12-08
|
10KB
|
302 lines
Setting up a CD-ROM in a VMB (CP 4/29/94
OS2CVMB.FAX CDROM VMB
====================================================================
SETTING UP A CDROM IN A VMB ENVIRONMENT
VMB - (Virtual Machine Boot)
General Guidelines
SECTION I - BEFORE YOU BEGIN
1. Check with vendor first, 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.
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.
a. If you use DOS 5.0 to create a 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 from the IBM Bulletin Board
(BBS) - (919) 517-0001.
b. If you use MSDOS 6.0 to create a VMB, you will need the
file "MSCDEX.EXE V2.22". That file comes with MSDOS 6.0
and is located in the \DOS directory.
c. Proceed with creating CD-ROM VMB from instructions below.
SECTION II - CREATE A CD-ROM VMB DISKETTE
1. Instructions for creating a bootable 360k, or a 720k, or
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 DOS 5.0/6.0 bootable diskette with FORMAT.COM
command in AUTOEXEC.BAT's PATH statement on diskette.
Replace bootable diskette in Drive A with diskette you
are using for CD-ROM VMB. At C> type, "FORMAT A: /S".
b. If you have pure DOS 5.0/6.0 installed on your computer,
boot up from there. Insert blank formatted diskette
you want to use for CD-ROM VMB in Drive A, and from DOS
root directory type "SYS A:". COMMAND.COM should be on
your diskette when you have completed this process.
NOTE: When you have finished creating VMB bootable diskette,
you will be able to:
a. Boot from OS/2's Command Prompts Icon View
(DOS from Drive A).
b. Boot from CD-ROM VMB Image Icon on Desktop that
you created.
2. Boot up in OS/2 and copy following files from 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.
3. You will be able to create the CD-ROM VMB image in two
different ways.
PART A: This allows you to read/write to Drive A, but you
will not be able to change 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 allows 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 ******
1A. On 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
2A. On CD-ROM VMB diskette create 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\CDROM
CDROM.BAT
2A. Make a directory called C:\CDROM to house the CD-ROM VMB
image. In the C:\CDROM directory create the following
CDROM.BAT file with a text editor:
C:\OS2\MDOS\FSACCESS A:
CD\
This file allows you to read/write to Drive A. Otherwise,
a 'DIR' on Drive A, will show up as the Image files.
4A. Copy COMMAND.COM from CD-ROM VMB diskette to CDROM dir.
Go to C:\CDROM and type:
VMDISK A: CDROM.IMG <enter>
This creates an image of diskette you created. Image file
will be named CDROM.IMG and is located in C:\CDROM dir
5A. Remove diskette from Drive A.
6A. When completed, return to the Desktop.
****** P A R T B ******
1B. On the CD-ROM VMB diskette create 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:\CDROM
FSACCESS M=A
C:
CD\CDROM
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
what unused logical drive you select to name in its
place.
LAN USERS: Do not use FSACCESS Z=A if Lan assigns logical
Drive Z as the network drive.
2B. 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 APPLICATION's drive designation to "M"
instead of "A".
3B. Make directory called C:\CDROM to house CD-ROM VMB image.
Copy COMMAND.COM from the CD-ROM VMB diskette to the
CDROM directory. Go to C:\CDROM and type:
VMDISK A: CDROM.IMG <enter>
This creates an image of diskette you created. The Image
Filename is CDROM.IMG and is located in C:\CDROM directory
4B. Remove diskette from Drive A.
5B. When completed, return to the Desktop.
SECTION III - CREATE A CD-ROM 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 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 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 upper left hand corner to close the Window.
6. Time to test all this stuff out. Double click on your new
DOS CD-ROM VMB Desktop Icon, and there you are.
7. To EXIT the CD-ROM VMB, type CTRL-ESC, from the 'Window List,
the 'CD-ROM VMB' session, click the right mouse button, and
Select 'Close'.
NOTE: If you have problems with above steps, please double
check all your file and directory names, especially the
ones in DOS SETTINGS. If you need more assistance, open
the MASTER HELP INDEX and choose SEARCH TOPICS, and then
enter "STARTING FROM AN IMAGE FILE" in the box, scroll
down to DOS section and double click on the STARTING
FROM AN IMAGE FILE and read the information presented.
****************************************************************
DISCLAIMER: The information contained in this document is
distributed "AS IS" without any warranties of any kind either
express or implied. IBM will not be responsible for any direct,
incidental, consequential, special or indirect damages. IBM
EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY AND
ANY IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
The use of this information or implementation of any of these
techniques is sole responsibility of customer and depends on
customer's ability to evaluate and integrate this information
or implementation into customer's operational environment.
****************************************************************
BOCA CBRX TEAM 4/94
If you have any comments or suggestions concerning our Faxes,
please send a note to: IBM Corporation
Boca CBRX Team
P.O. Box 1328
Zip 1026
Boca Raton, FL 33429
12/31/99