home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
DAVMB.FAX
< prev
next >
Wrap
Text File
|
1994-12-01
|
17KB
|
483 lines
Creating a DOS VMB (DOS boot image) 7/18/94
FILE: OSDAVMB.FAX - 05/13/94
TITLE: 940513 INSTRUCTIONS TO CREATE A DOS IMAGE FILE
VMB - (Virtual Machine Boot) FOR OS/2 2.x
STANDARD VMB BOOT (PART 1) OR
MULTI-BOOT VMB (PART 2)
DESCRIPTION OF SYMPTOMS:
Some DOS applications and networks that will
not run in a VDM session, will run in a VMB.
RESOLUTION:
-- PART 1: STANDARD VMB BOOT GENERAL GUIDELINES --
SECTION I - CREATE A VMB DISKETTE
1. 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 bootable diskette that includes
the FORMAT.COM file from DOS (native DOS). Type
"FORMAT A: /S" --do not hit ENTER, yet. Insert
the blank diskette you want to use for the VMB in
Drive A, and hit ENTER. COMMAND.COM should be on
your diskette when you have completed this
process.
b. If you have pure DOS installed on your computer,
boot up from there. Insert the blank formatted
diskette you want to use for the VMB in Drive A,
and from the DOS root directory type "SYS A:".
COMMAND.COM should be on your diskette when you
have completed this process.
c. After you have completed the above steps,
place your new bootable diskette in Drive A:
and boot your system. If it boots properly, continue
on with the instructions. If not, try again.
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 VMB Image Icon on your Desktop
**** PLEASE CREATE THE VMB FOLLOWING THE INSTRUCTIONS
IN THIS DOCUMENT AND GET IT UP AND RUNNING BEFORE
YOU CUSTOMIZE THE VMB IMAGE. THEN ADD OTHER DEVICE
DRIVERS, NATIVE DOS FILES, AND STATEMENTS WITHIN THE
CONFIG.SYS AND AUTOEXEC.BAT SPECIFIC TO YOUR
APPLICATION, NETWORK, ETC. YOU WILL HAVE TO CREATE
SEVERAL VMBS FOR EACH PROGRAM THAT HAS SPECIAL
REQUIREMENTS.
2. Boot up in OS/2 and copy the following files from the
OS2\MDOS directory to the VMB diskette:
ANSI.SYS
FSFILTER.SYS
FSACCESS.EXE
EMM386.SYS
HIMEM.SYS
LPTDD.SYS
MOUSE.COM
You may add to this diskette any number of NATIVE DOS
files you want to use, but do not do this until the
VMB is up and running.
3. You will be able to create the VMB image in two
different ways.
OPTION 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 after the
VMB Image file has been created on the hard
drive. (Instructions below)
OPTION B:
This will allow you to read/write to Drive A:
using an alternate drive letter.
You will be able to change the Autoexec.bat,
Config.sys, and add files after the Image
file has been created on the hard drive (this
will be Drive A). (Instructions below)
4. Each time you install a new version of OS/2 or a CSD,
you will need to update the IMAGE with the current
version of the files from the OS2\MDOS directory
listed in the above Section I-2.
****** O P T I O N A ******
1A. On the VMB diskette create the following CONFIG.SYS
file with a text editor:
DEVICE=HIMEM.SYS
DEVICE=EMM386.SYS
DOS=HIGH,UMB
DEVICE=FSFILTER.SYS
DEVICE=ANSI.SYS
DEVICE=LPTDD.SYS
FILES=40
BUFFERS=30
LASTDRIVE=Z
2A. On the VMB diskette create the following
AUTOEXEC.BAT file with a text editor:
ECHO OFF
PROMPT $P$G
SET COMSPEC=C:\VMB\COMMAND.COM
MOUSE.COM
PATH C:\;C:\VMB
C:
CD\VMB
VMB.BAT
3A. Make a directory called C:\VMB to house the VMB
image. In the C:\VMB directory create the
following VMB.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.
4A. Copy COMMAND.COM from the VMB diskette to the VMB
directory. Change to C:\VMB and type:
VMDISK A: DOS.IMG <enter>
This will create an image of the diskette you
created. The Image File will be named
DOS.IMG and will be located in the C:\VMB
directory.
5A. When completed, remove and store the diskette.
Return to the desktop.
****** O P T I O N B ******
1B. On the VMB diskette create the following AUTOEXEC.BAT
file with a text editor:
ECHO OFF
PROMPT $P$G
MOUSE.COM
PATH C:\;C:\VMB
FSACCESS M=A
C:
CD\VMB
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'. You may select another logical drive
in its place. This process 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 destination to "M" instead of "A".
LAN USERS: Do not use FSACCESS Z=A if your Lan
assigns logical Drive Z as the network
drive.
2B. On the VMB diskette create the following CONFIG.SYS
file with a text editor:
DEVICE=HIMEM.SYS
DEVICE=EMM386.SYS
DOS=HIGH,UMB
DEVICE=FSFILTER.SYS
DEVICE=ANSI.SYS
DEVICE=LPTDD.SYS
FILES=40
BUFFERS=30
LASTDRIVE=Z
NOTE: Assigning LASTDRIVE = Z (for VMB purposes
allows FSACCESS in Step 1B to assign
letter "M" to drive A).
3B. Make a directory called C:\VMB to house the VMB
image. Copy the COMMAND.COM from the VMB diskette
to the VMB directory. Go to C:\VMB and type:
VMDISK A: DOS.IMG <enter>
This will create an image of the diskette you
created. The Image File will be named DOS.IMG and
will be located in the C:\VMB directory.
4B. When completed, remove and store the diskette.
Return to the desktop.
SECTION II - CREATE A VMB DESKTOP ICON
1. CREATE THE ICON
a. Open the OS/2 SYSTEM folder.
b. Double click on the COMMAND PROMPTS Icon.
c. Copy the DOS FULL SCREEN icon to the Desktop by
holding down the CTRL key and dragging the icon to
the Desktop.
d. Close the "COMMAND PROMPTS" and the OS/2 SYSTEM
Folder.
2. Change the DOS SETTINGS For the VMB Icon
a. Select the ICON created in Step 1 by clicking
on it once.
b. Bring up its menu by clicking on it once with
the right mouse button.
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:\VMB\DOS.IMG
XMS_MEMORY_LIMIT to: Default is 2048
OMin. Requirementt
h. Use these settings for applications that use DOS
PROTECTED MODE INTERFACE (DPMI).
DPMI_MEMORY_LIMIT to: 4 (Minimum Requirement)
DPMI_DOS_API to: ENABLE
NOTE: There may be other settings you wish to
change, but do not do it until the VMB is up
and running.
3. SAVE the settings.
4. Select GENERAL and change the TITLE field to "VMB" or
whatever name you wish to call your Desktop Icon.
5. Close out the Icon session by clicking twice with the
left mouse button in the upper left hand corner of the
settings window.
6. Time to test all this stuff out. Double click on
your new DOS VMB Desktop Icon, and there you are.
7. To EXIT the VMB, create a file in the VMB directory -
"X.BAT"
@C:\OS2\MDOS\EXIT_VDM
Type "X" at the command prompt.
NOTE: 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, open the MASTER HELP INDEX
and choose SEARCH TOPICS, and then enter
"STARTING FROM AN IMAGE FILE" in the box, scroll
down to the DOS section and double click on the
STARTING FROM AN AN IMAGE FILE and read the
information presented there. Good Luck!!!!!
*****************
-- PART 2: MULTI-BOOT VMB GENERAL GUIDELINES --
SECTION I - CREATE A MULTI-VMB CONFIG.SYS AND AUTOEXEC.BAT
1. The MULTI-BOOT VMB is to be used for systems that have
the boot manager setup: Native DOS 6.0 or higher on the
C: Partition and OS/2 2.X on a different partition.
2. Create with a text editor the following Autoexec.bat and
Config.sys files on the root directory of the C: (Native
DOS) partition.
NOTE: PLEASE CREATE THE VMB FOLLOWING THE INSTRUCTIONS
IN THIS DOCUMENT, GET IT UP AND RUNNING, AND THEN
ADD OTHER FILES, DRIVERS, AND STATEMENTS FOR YOUR
SPECIFIC APPLICATIONS, NETWORKS, ETC.
AUTOEXEC.BAT:
@ECHO OFF
PROMPT $p$g
GOTO %CONFIG%
:NORMAL
C:\DOS\SMARTDRV.EXE
PATH C:\DOS
SET TEMP=C:\DOS
LH C:\DOS\MOUSE.COM
LH C:\DOS\DOSKEY
GOTO END
:OS2
SET COMSPEC=C:\DOS\COMMAND.COM
PATH C:\;C:\DOS;
LH DOSKEY
LH D:\OS2\MDOS\MOUSE.COM
GOTO END
:END
CONFIG.SYS:
<MENU>
MENUITEM=OS2,BOOT FOR OS/2 VMB
MENUITEM=NORMAL,BOOT FOR NATIVE DOS
<NORMAL>
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
FILES=30
BUFFERS=15
SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
DEVICEHIGH=C:\DOS\ANSI.SYS
STACKS=9,256
<OS2>
DEVICE=D:\OS2\MDOS\FSFILTER.SYS
DEVICE=D:\OS2\MDOS\HIMEM.SYS
DEVICE=D:\OS2\MDOS\EMM386.SYS
DEVICEHIGH=D:\OS2\MDOS\ANSI.SYS
DEVICEHIGH=D:\OS2\MDOS\LPTDD.SYS
DOS=HIGH,UMB
FILES=30
BUFFERS=20
SHELL=C:\DOS\COMMAND.COM C:\DOS /P
***** NOTE *****
Please REPLACE the < > which are located around MENU, NORMAL, and OS2,
with the left and right bracket symbols (looks like the left and right
side of a box). Because of the way files are stored on the IBM LAN,
some symbol characters are misinterpreted.
SECTION II - CREATE A VMB DESKTOP ICON
1. CREATE THE ICON
a. Open the OS/2 SYSTEM folder.
b. Double click on the COMMAND PROMPTS Icon.
c. Copy the DOS FULL SCREEN icon to the Desktop by
holding down the CTRL key and dragging the icon to
the Desktop.
d. Close the "COMMAND PROMPTS" and the OS/2 SYSTEM
Folder.
2. Change the DOS SETTINGS For the VMB Icon
a. Select the ICON created in Step 1 by clicking
on it once.
b. Bring up its menu by clicking on it once with
the right button.
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:\
XMS_MEMORY_LIMIT to: Default is 2048
OMin. Requirementt
h. Use these settings for applications that use DOS
PROTECTED MODE INTERFACE (DPMI).
DPMI_MEMORY_LIMIT to: 4 (Minimum Requirement)
DPMI_DOS_API to: ENABLE
NOTE: There may be other settings you wish to
change, but do not do it until the VMB is up
and running.
3. SAVE the settings.
4. Select GENERAL and change the TITLE field to "VMB" or
whatever name you wish to call your Desktop Icon.
5. Close out the Icon session by clicking twice with the
left mouse button in the upper left hand corner of the
settings window.
6. Time to test all this stuff out. Double click on
your new DOS VMB Desktop Icon. The following will appear:
MS-DOS 6 Startup Menu
1. BOOT FOR OS/2 VMB (highlighted)
2. BOOT FOR NATIVE DOS
Enter a choice: 1 (select 1)
If you select "2", you will get error messages. This
selection is for booting native DOS from the Boot
Manager partition.
7. To EXIT the VMB, create a file in the C:\ directory -
"X.BAT"
@ECHO OFF D:\OS2\MDOS\EXIT_VDM
Type "X" at the command prompt.
-------------------------
Report by: OS/2 Dosap Analyst Team - 05/94
IBM - Boca Raton, Florida
12/31/99