home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / DAVOVL.FAX < prev    next >
Text File  |  1995-01-25  |  9KB  |  244 lines

  1. OSDANOVL - CREATING A VMB FOR THE NETWARE LAN REQUESTER
  2. 10/19/94
  3.  
  4. ================================================================
  5.         CREATING A DOS IMAGE FILE FOR OS/2 2.x TO BE
  6.       USED WITH THE NETWARE V2.1 LAN REQUESTER FOR OS/2
  7.                 VMB - (Virtual Machine Boot)
  8. ================================================================
  9.  
  10. Please Read Entire Document For Full Explanation of Procedure
  11. ----------------------------------------------------------------
  12.  
  13. SYMPTON:    Applications that run off the Netware Lan Requester
  14.             for OS/2 do not run in a VDM session.
  15.  
  16. RESOLUTION: Create a VMB for the Netware Lan Requester
  17.  
  18.  
  19. PROCEDURES:
  20.  
  21. SECTION I - CREATING A VMB DISKETTE
  22.  
  23. 1.  Each Image file you create equals the size of the diskette
  24.     you use, for example, 360k, 720k, or 1.44mb high density
  25.     diskette.  There are two ways to create a VMB diskette:
  26.  
  27. METHOD A:
  28.  
  29.         Start from a DOS bootable diskette that includes the
  30.         FORMAT.COM file from native DOS.  Type: FORMAT A: /S
  31.         and press Enter.  When you see a message asking you
  32.         to Press any key, insert a blank diskette for the VMB in
  33.         Drive A, and press Enter.  COMMAND.COM is on the
  34.         diskette when this step is completed.
  35.  
  36. METHOD B:
  37.  
  38.         If you have native DOS installed on your computer, start
  39.         from there.  Insert a blank formatted diskette you want
  40.         to use for the VMB in Drive A, and, from the DOS root
  41.         directory, type: SYS A: and press Enter.  COMMAND.COM is
  42.         on the diskette when this step is completed.
  43.  
  44.     After completing one of the above steps, insert the VMB
  45.     diskette in Drive A: and start the system.  If it starts
  46.     correctly, continue with the following procedures.  If not,
  47.     try the previous steps again.
  48.  
  49.     NOTE:  After creating a VMB diskette, you can:
  50.            -  Start from OS/2's Command Prompts Icon View
  51.                   (DOS from Drive A)
  52.            -  Start from the VMB Image Icon on your Desktop
  53.  
  54.     NOTE:  Use the following instructions to create the VMB.
  55.            Make certain it running before you customize the VMB
  56.            image.  Then, you can add other device drivers, native
  57.            DOS files, and statements in the CONFIG.SYS and
  58.            AUTOEXEC.BAT specific to your application, network,
  59.            etc.  You have to create several VMBs for each program
  60.            that has special requirements.
  61.  
  62. 2.  Start in OS/2 and copy the following files from the
  63.     OS2\MDOS directory to the VMB diskette:
  64.  
  65.                       ANSI.SYS
  66.                       FSFILTER.SYS
  67.                       FSACCESS.EXE
  68.                       EMM386.SYS
  69.                       HIMEM.SYS
  70.                       LPTDD.SYS
  71.                       MOUSE.COM
  72.  
  73.     You may add any number of NATIVE DOS files to this diskette,
  74.     but not until the VMB is running.
  75.  
  76.  
  77. 3.  The VMB lets you read/write to Drive A: using
  78.     an alternate drive letter.  You can change the AUTOEXEC.BAT,
  79.     CONFIG.SYS, and add files after the Image file is on the hard
  80.     disk - this is Drive A. (Instructions below)
  81.  
  82.  
  83. 4.  Each time you install a new version of OS/2 or a ServicePak,
  84.     you need to update the IMAGE with the current version of
  85.     the files from the OS2\MDOS directory listed in step 2 above.
  86.  
  87. INSTRUCTIONS
  88. -----------------------------------------------------------------
  89.  
  90.  
  91. 1. On the VMB diskette create the following AUTOEXEC.BAT
  92.    file with a text editor:
  93.  
  94.                  PRIVATE OR GLOBAL
  95.                  -----------------
  96.                      ECHO OFF
  97.                      PROMPT $P$G
  98.                      MOUSE.COM
  99.                      PATH C:\;C:\VMB;C:\NETWARE
  100.                      SET DOS=VDM
  101.                      FSACCESS G=A
  102.                      C:
  103.                      CD\NETWARE
  104.                      NETX.EXE
  105.     (Private Only)   H:       (Lastdrive+1 - Example: G+1 = H)
  106.  
  107. NOTE:  If you start DOS from an Image File, you cannot use
  108.        physical Drive A until you release the Image File.
  109.        FSACCESS G=A releases Drive A and assigns "G" which is the
  110.        drive after the last assigned drive on your workstation.
  111.  
  112.        This lets DOS applications read/write to physical Drive
  113.        A - which is logical Drive G. When retrieving/saving a
  114.        file from/to physical Drive A, rename the Application's
  115.        drive destination to "G" instead of "A".
  116.  
  117.  
  118.        LAN USERS:  Do not use FSACCESS Z=A if your Lan
  119.                    assigns logical Drive Z as the network
  120.                    drive.
  121.  
  122. 2.   On the VMB diskette create the following CONFIG.SYS with a
  123.      text editor:
  124.  
  125.  
  126.                      PRIVATE OR GLOBAL
  127.                      -----------------
  128.                      DEVICE=FSFILTER.SYS
  129.                      FILES=40
  130.                      BUFFERS=40
  131.                      DEVICE=HIMEM.SYS
  132.                      DEVICE=EMM386.SYS
  133.                      LASTDRIVE=G
  134.                      DOS=HIGH,UMB
  135.                      DEVICE=ANSI.SYS
  136.                      DEVICE=LPTDD.SYS
  137.                      DEVICE=C:\NETWARE\DOSVIPX.SYS
  138.  
  139.             NOTE:  LASTDRIVE=G is the same as the FSACCESS
  140.                    assigned drive from the AUTOEXEC.BAT.
  141.  
  142.  
  143. 3.   Make a directory called C:\VMB for the VMB image.  Copy the
  144.      COMMAND.COM from the VMB diskette to the VMB directory.  Go
  145.      to C:\VMB and type:
  146.  
  147.                  VMDISK A:  DOS.IMG  and press Enter.
  148.  
  149.       This creates an image of the diskette you created. The
  150.       Image File is named DOS.IMG and is in the C:\VMB directory.
  151.  
  152.  
  153. 4.   When completed, remove and store the diskette. Return to the
  154.      desktop.
  155.  
  156.  
  157.  
  158. ================================================================
  159. SECTION II - CREATING A VMB DESKTOP ICON
  160.  
  161. 1.  Creating the Icon:
  162.  
  163.       a. Open the OS/2 System folder.
  164.  
  165.       b. Select the Command Prompts Icon.
  166.  
  167.       c. Copy the DOS Full Screen icon to the Desktop by holding
  168.          down the Ctrl key and dragging the icon to Desktop while
  169.          holding down the right mouse button.
  170.  
  171.       d. Close Command Prompts and the OS/2 System Folder.
  172.  
  173. 2.  Change the DOS Settings For the VMB Icon:
  174.  
  175.       a. Select the Icon created in Step 1.
  176.  
  177.       b. Press the right mouse button to display the menu.
  178.  
  179.       c. Select the Arrow on Open.
  180.  
  181.       d. Select Settings to open the Settings notebook.
  182.  
  183.       e. Select Session.
  184.  
  185.       f. Select DOS Settings.
  186.  
  187.       g. Change the following settings:
  188.  
  189.             EMS_MEMORY_LIMIT   to:    Default is 2048
  190.             DOS_UMB            to:    ON
  191.             DOS_HIGH           to:    ON
  192.             DOS_STARTUP_DRIVE  to:    C:\VMB\DOS.IMG
  193.             XMS_MEMORY_LIMIT   to:    Default is 2048
  194.                                       (Min. Requirement)
  195.  
  196.                                       PRIVATE      GLOBAL
  197.                                       -------      ------
  198.              NETWARE_RESOURCES  to:   PRIVATE      GLOBAL
  199.              DOS_FILES          to:   214(MAX)     214(MAX)
  200.              DOS_LASTDRIVE      to:   G            G
  201.  
  202.      NOTE: In a PRIVATE session, the DOS_LASTDRIVE needs to be set
  203.            to the drive letter past your last OS/2 workstation drive.
  204.            EXAMPLE:  If you have drives A: B: C: D: E: F:  your
  205.                      DOS_LASTDRIVE should be set to G.  H: will
  206.                      be you LOGIN drive for that session.
  207.  
  208.       h. Use these settings for applications that use DOS
  209.          PROTECTED MODE INTERFACE (DPMI).
  210.  
  211.             DPMI_MEMORY_LIMIT to:     4 (Minimum Requirement)
  212.             DPMI_DOS_API      to:     ENABLE
  213.  
  214.       i. If your PC has a LAN adapter, or other board that uses
  215.          RAM memory, add the range it uses to the
  216.          MEM_EXCLUDE_REGIONS settings (i.e., D8000-DFFFF for
  217.          an Ethernet Adapter).
  218.  
  219.   NOTE:  There may be other settings you want to change, but do
  220.          not do it until the VMB is running.
  221.  
  222. 3.  Select Save.
  223.  
  224. 4.  Select General and change the Title field to VMB or
  225.     the name you want to call your Desktop Icon.
  226.  
  227. 5.  Close the window.
  228.  
  229. 6.  Select the new DOS VMB Desktop Icon.
  230.  
  231. 7.  To EXIT the VMB from within the VMB, create a batch file
  232.     in the VMB directory  called X.BAT containing the following:
  233.  
  234.                 @ C:\OS2\MDOS\EXIT_VDM
  235.  
  236. 8.  Save the file.
  237.  
  238. 9.  Type X at the command prompt.
  239.  
  240.     NOTE:  If you have problems with the above steps, check all
  241.            your file and directory names, especially the ones in
  242.            the DOS Settings.
  243.  
  244.