home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / os2help / dosvmb.fax < prev    next >
Encoding:
Text File  |  1992-09-17  |  5.7 KB  |  158 lines

  1. HELP WITH CREATING A DOS VMB
  2. ----------------------------
  3.  
  4. Creating a DOS 5.0 Image file for OS/2 2.0
  5. ------------------------------------------
  6.  
  7. This information is provided as *general guidelines* for creating
  8. a VIRTUAL MACHINE BOOT ("VMB") from an Image file.  Please
  9. consult OS/2's online help under "Image File" for more information if
  10. necessary. Your configuration may vary...
  11. -----------------------------------------------------------------
  12. You will need to have a DOS 5.0 bootable diskette with the FORMAT
  13. command in its PATH statement in AUTOEXEC.BAT, or DOS 5.0 installed
  14. on your hard disk drive also with FORMAT command in its PATH.
  15.  
  16.  1.  Create a bootable 360k or 720k diskette with DOS 5.0. You can
  17.      use high density 1.44mb disk if you wish, but each image file
  18.      you create will equal the size of the diskette you  use.  By
  19.      using a 360K diskette, your image files will only be 368K in
  20.      size.  (You will need to boot with a DOS 5 diskette, and then
  21.      use the FORMAT command with the /S parameter - see your DOS
  22.      manual's FORMAT command information for assistance if
  23.      necessary).  You can also create a bootable diskette if you
  24.      have DOS 5.0 installed on your system.  Boot up from pure DOS 5.0,
  25.      insert a blank formatted diskette in drive A, and from your DOS root
  26.      directory type "SYS A:".
  27.  
  28.  2.  Boot up in OS/2 and copy all of the following files to the bootable diskette:
  29.  
  30.      From:                      Filename:
  31.  
  32.           \OS2\MDOS                       ANSI.SYS
  33.           \OS2\MDOS                       FSFILTER.SYS
  34.           \OS2\MDOS                       EMM386.SYS
  35.           \OS2\MDOS                       HIMEM.SYS
  36.           \OS2\MDOS                       MOUSE.COM
  37.  
  38.  
  39.  3.  Create with a text editor a CONFIG.SYS file on the Bootable diskette
  40.      like the following:  (assumes you have a c:\dos directory - if not "MD DOS"
  41.      from the root directory).
  42.  
  43.      device=himem.sys
  44.      device=emm386.sys
  45.      dos=high,umb
  46.      devicehigh=fsfilter.sys
  47.      devicehigh=ansi.sys
  48.      files=40
  49.      buffers=30
  50.  
  51.  
  52.  4.  Create an AUTOEXEC.BAT file on the bootable diskette *like* the
  53.      following:
  54.  
  55.      echo off
  56.      lh mouse                                            NOTE:  (lh = LH)
  57.      path c:\;c:\dos
  58.      prompt $p$g
  59.      c:
  60.      cd \dos
  61.      dos5-img.bat
  62.  
  63.      The last line of the AUTOEXEC.BAT file will load a batch file
  64.      named  DOS5-IMG.BAT in the \DOS subdirectory.  Use this batch
  65.      file  to continue executaion of other programs or utilities.
  66.      See step 5 for a sample batch file.
  67.  
  68.  
  69.  5.  Create a batch file in the \DOS subdirectory named DOS5-IMG.BAT
  70.      similiar to the following:
  71.  
  72.        echo off
  73.        \os2\mdos\fsaccess a:
  74.  
  75.      The second line of this batch file will release access to the
  76.      image file. Otherwise the DOS session thinks the image file
  77.      is drive A, and you will not have access to the physical
  78.      drive A on your system.
  79.  
  80.  
  81.  6.  Open an  OS/2 window, and change to your DOS subdirectory,
  82.      type:
  83.           cd \DOS                <enter>
  84.           VMDISK A: DOS5.IMG     <enter>
  85.  
  86.      This  will  create an image of the diskette  you  created  in
  87.      steps 1 through 5.  The image file will be named DOS5.IMG and
  88.      will be located in the \DOS subdirectory.
  89.  
  90.  
  91.  7. Exit the OS/2 Window, and return to the Desktop.
  92.  
  93.  
  94.  8. Create a DOS Window object:
  95.  
  96.     a.  Open the " OS/2 System " folder.
  97.  
  98.     b.  Double click on the "Command Prompts" icon.
  99.  
  100.     c.  Copy the DOS Window icon to the Desktop by holding down
  101.         the CTRL key and dragging the icon to the Desktop.
  102.  
  103.     d.  Close the "Command Prompts" and the "OS/2 System" folder.
  104.  
  105.  
  106.  9.  Change the DOS Settings for the DOS Window icon:
  107.  
  108.     a. Select the "DOS Window" icon by clicking on it once.
  109.  
  110.     b. Bring up its menu by clicking the right mouse button once.
  111.  
  112.     c. Click on the ARROW on the "OPEN" line.
  113.  
  114.     d. Select "Settings".
  115.  
  116.     e. In the "DOS Window - Settings" notebook, select "Session".
  117.  
  118.     f. Select "DOS Settings".
  119.  
  120.     g. Change the following settings:
  121.  
  122.        1. DOS_HIGH           to:   ON
  123.        2. DOS_SHELL          to:   C:\DOS\COMMAND.COM C:\DOS\ /p
  124.        3. DOS_STARTUP_DRIVE  to:   C:\DOS\DOS5.IMG
  125.  
  126.        Note:
  127.        If your pc has a LAN adapter, or other board that uses RAM
  128.        memory, add the range it uses to the MEM_EXCLUDE_REGIONS
  129.        settings (ie, C800-CC00 for my Ethernet adapter).
  130.  
  131.  
  132.        There may be other settings you wish to change, but don't
  133.        do it yet. Get the DOS Window up and working first, then
  134.        you can make other necessary changes.
  135.  
  136.  
  137.  10.  Save the settings you changed, and exit the notebook.
  138.  
  139.  11.  Time to test all this stuff out. Double click on your new
  140.       DOS 5 Window, and you there you are!
  141.  
  142.  
  143. If  you have problems with the above steps, please double check
  144. all your file and directory names, especially the ones in the
  145. "DOS Settings".  If you need more assistance, open the Master Help
  146. Index and choose Search Topics, and then enter Starting from an
  147. Image File in the box, scroll down to the DOS section and double
  148. click on the Starting from an Image File and read the information
  149. presented there.  Good luck!
  150.  
  151. -------------------------------------------------------------------------------
  152. Thank you for calling the OS/2 2.0 Support Line.  Regarding the problem
  153. reported to the Support Line, we feel that this information may assist
  154. you in resoloving your problem.  If you still require assistance, please
  155. call 1-800-237-5511, and reference your customer number and problem (PMR)
  156. number.  Your Problem Record Number (PMR) should appear on the cover
  157. page of this faxed document.
  158.