home *** CD-ROM | disk | FTP | other *** search
-
- ΓòÉΓòÉΓòÉ 1. About this FAQ ΓòÉΓòÉΓòÉ
-
- One of the questions I've seen often in the BBS from OS/2 newcomers is what is
- a VMB and how do I create one? Based on information gleaned from OS/2 help,
- responses on the BBS and sources on Fidonet (Thanks, John Faughnan) I've
- created this INF file detailing creation of a VMB in six easy steps.
-
- This INF is placed into public domain and may be freely copied.
-
- Jeff Elkins - GEnie OS/2 RT Staff
-
-
- ΓòÉΓòÉΓòÉ 2. GEnie OS/2 RT ΓòÉΓòÉΓòÉ
-
- What is GEnie? GEnie is a premier national online information service brought
- to you by General Electric. It contains thousands of files for all types of
- computers as well as hundreds of BBS's which you can access for a flat monthly
- rate.
-
- GEnie is also home of the OS/2 RT (Roundtable).
-
- How to get a GEnie Account
-
- Remember, do not type the quotation marks in the steps below.
-
- 1. Set your communications software to:
-
- 300, 1200, or 2400 baud
-
- local echo (half duplex)
-
- 7 data bits and 1 stop bit
-
- even parity
-
- 2. Tell your communications software or modem to dial:
-
- In the United States: 1-800-638-8369
-
- In Canada: 1-800-387-8330
-
- 3. When your modem connects, type "HHH"
-
- Do not type too quickly, but don't use more than a second to type each one.
- GEnie will respond with the prompt "U#=".
-
- 4. Type "XTX99566, GENIE"
-
- 5. Follow the instructions on the screen to apply for your account.
-
- Before you finish, GEnie will issue you a user ID number and temporary
- password, your GE Mail address, and GEnie access numbers.
-
-
- ΓòÉΓòÉΓòÉ 3. VDM or VMB? ΓòÉΓòÉΓòÉ
-
- VDM (Virtual DOS Machine) is OS/2's built-in DOS session. A VDM session
- "emulates" standard DOS 5.0 Virtually <g> all DOS software can run in a
- standard VDM, but the VMB facility can handle most which cannot.
-
- VMB (Virtual Machine Boot) is the ability provided by OS/2 2.X which allows the
- user to boot a specific version of DOS (or CP/M) that runs as a session under
- OS/2. This allows you to run software which cannot run in a standard VDM
- (Virtual DOS Machine) emulated DOS session under OS/2.
-
-
- ΓòÉΓòÉΓòÉ 4. What can't run in a VMB? ΓòÉΓòÉΓòÉ
-
- Despite their versatility, VMB's can't run everything. Prohibited are:
-
- 1. Non-DPMI (i.e. VCPI) DOS extenders.
-
- 2. Disk I/O bypassing the file system. This includes low-level formatting, DOS
- undelete programs, and almost all DOS disk utility programs such as CHKDSK or
- FORMAT.
-
-
- ΓòÉΓòÉΓòÉ 5. Creating a VMB ΓòÉΓòÉΓòÉ
-
- OS/2 can (almost automatically) boot DOS from a diskette in the A: drive, but
- the best approach is to create an "Image" file which is stored on your hard
- disk. The steps to create and use an DOS image follow. I'm assuming you have
- the following:
-
- 1. A DOS 5.0 Bootable diskette. The smaller the capacity the better. Try to use
- a 360K or 720K.
-
- 2. Any device drivers you wish to use.
-
-
- ΓòÉΓòÉΓòÉ 5.1. Step 1 - Preparing the diskette ΓòÉΓòÉΓòÉ
-
- 1. Remove any file or low-level utilities such as FORMAT.COM, SYS.COM or
- CHKDSK.COM. They waste space and you can't use them anyway.
-
- 2. Remove DOS memory managers (i.e. EMM386, HIMEM) and any mouse drivers
- (MOUSE.COM or MOUSE.SYS).
-
- Copy the following files from the \OS2\MDOS subdirectory to the diskette.
-
- HIMEM.SYS
-
- EMM386.SYS
-
- FSFILTER.SYS
-
- MOUSE.COM (if your VMB will require a mouse)
-
- Copy any other device drivers you need for the VMB to the diskette.
-
-
- ΓòÉΓòÉΓòÉ 5.2. Step 2 - The CONFIG.SYS ΓòÉΓòÉΓòÉ
-
- Prepare a CONFIG.SYS file for the diskette. It should contain:
-
- DEVICE=FSFILTER.SYS
-
- DEVICE=EMM386.SYS
-
- DEVICE=HIMEM.SYS
-
- SHELL=COMMAND.COM /P
-
- FILES=20
-
- BUFFERS=20
-
- Plus any device drivers specific to this DOS VMB session.
-
-
- ΓòÉΓòÉΓòÉ 5.3. Step 3 - Batch processing ΓòÉΓòÉΓòÉ
-
- Create an AUTOEXEC.BAT with the following:
-
- @ECHO OFF
-
- LOADHIGH MOUSE.COM (if you copied MOUSE.COM to the diskette)
-
- PROMPT=$p$g
-
- Further batch processing should be run from a batch file on your hard drive.
- This saves you from having to rebuild the image file if you make changes.
-
- So, assuming your hard drive is C: the last three lines in your AUTOEXEC.BAT
- would read:
-
- C:
-
- CD\BATFLS (subdirectory location where you keep .BAT files)
-
- MYBAT.BAT
-
- NOTE: MYBAT.BAT will contain steps for further processing required by your
- VMB (We'll create MYBAT.BAT in the next step)
-
-
- ΓòÉΓòÉΓòÉ 5.4. Step 4 - Creating MYBAT.BAT ΓòÉΓòÉΓòÉ
-
- You now need to create a BAT file on your hard drive that will re-map your A:
- drive, contain your path, and other startup processing your VMB might require.
- For the purposes of this INF we'll call it MYBAT.BAT, but you can name it
- whatever you wish.
-
- Line one MYBAT.BAT => C:
-
- Line one above logs off the A: drive
-
- (You can't re-map a drive while you're logged on to it)
-
- Line two MYBAT.BAT => C:\OS2\MDOS\FSACCESS Z:=A:
-
- Line two above re-maps drive A: to drive Z: (where Z is an unused drive
- letter).
-
- In other words, when you want to access data on a floppy in drive A: you would
- substitute the letter Z: instead.
-
- Line three MYBAT.BAT => C:\YOURPATH;C:\YOURPATH;
-
- End this BAT file with any other startup processing you require.
-
-
- ΓòÉΓòÉΓòÉ 5.5. Step 5 - Creating an image file ΓòÉΓòÉΓòÉ
-
- You now need to create a image file OS/2 can use to boot from.
-
- The syntax required is:
-
- VMDISK D: DOS5.IMG
-
- Substitute your floppy drive letter for the D: You may use a filename of your
- choice for DOS5.IMG also.
-
- Completion of this step results in an image file which will be the size of the
- diskette used.
-
-
- ΓòÉΓòÉΓòÉ 5.6. Step 6 - Using the VMB ΓòÉΓòÉΓòÉ
-
- Return to WPS and copy a DOS command prompt object from the Command Prompts
- folder to the desktop
-
- Open the settings notebook and click the SESSIONS tab, then click the
- DOS_SETTINGS pushbutton.
-
- Locate the DOS_STARTUP_DRIVE entry and change it to reflect the location where
- you placed your image file.
-
- i.e. C:\MYIMAGE\DOS5.IMG
-
- Save the settings.
-
- Close the settings notebook.
-
- Double-click on the VMB icon to start the VMB session.
-
-
- ΓòÉΓòÉΓòÉ 5.7. Step 7 - Exiting the VMB ΓòÉΓòÉΓòÉ
-
- The normal "exit" command will not close a VMB. You can close a VMB in two
- ways:
-
- 1. Alt-Esc to the desktop and close the session using the task list.
-
- 2. Type EXIT_VDM (OS/2 2.1). EXIT_VDM.COM is a small (7 byte) program supplied
- with OS/2 2.1. It is also available in the RT software libraries.
-
- That's it! You should now have a functional VMB.