home *** CD-ROM | disk | FTP | other *** search
/ Monster Disc 2: The Best of 1992 / MONSTER2.ISO / os2 / dos5img.doc < prev    next >
Text File  |  1992-08-25  |  5KB  |  161 lines

  1.  
  2.             Creating a DOS 5.0 Image file for OS/2, 2.0
  3.  
  4.  After  lots  of  trial and error, reading all  the  on-line  help
  5.  files, and two OS/2 books, I have finally gotten a DOS 5.0  image
  6.  file to work properly.  To help others that have become frustrat-
  7.  ed  with this process, I will try to put it all together for  you
  8.  in this text file.
  9.  
  10.  -----------------------------------------------------------------
  11.  
  12.  1.  Create a bootable 360K or 720K diskette with DOS 5.0. You can
  13.      use  high density diskettes if you wish, but each image  file
  14.      you  create will equal the size of the diskette you  use.  By
  15.      using a 360K diskette, your image files will only be 368K  in
  16.      size.
  17.  
  18.  
  19.  2.  Copy all of the following files to the bootable diskette:
  20.  
  21.      From:                      Filename:
  22.  
  23.           \OS2\MDOS                       ANSI.SYS
  24.           \OS2\MDOS                       FSFILTER.SYS
  25.           \OS2\MDOS                       EMM386.SYS
  26.           \OS2\MDOS                       HIMEM.SYS
  27.           \OS2\MDOS                       MOUSE.COM
  28.  
  29.  
  30.  3.  Create a  CONFIG.SYS file on the Bootable diskette like the
  31.      following:
  32.  
  33.      device=himem.sys
  34.      device=emm386.sys
  35.      dos=high,umb
  36.      devicehigh=fsfilter.sys
  37.      devicehigh=ansi.sys
  38.      files=40
  39.      buffers=30
  40.  
  41.  
  42.  4.  Create a AUTOEXEC.BAT file on the bootable diskette like  the
  43.      following:
  44.  
  45.      echo off
  46.      set comspec=c:\dos\command.com
  47.      lh mouse
  48.      path c:\;c:\dos
  49.      prompt $p$g
  50.      c:
  51.      cd \dos
  52.      dos5-img.bat
  53.  
  54.      The last line of the AUTOEXEC.BAT file will load a batch file
  55.      named  DOS5-IMG.BAT in the \DOS subdirectory. Use this  batch
  56.              file  to continue executaion of other programs or  utilities.
  57.      See step 5 for a sample batch file.
  58.  
  59.  
  60.  5.  Create a batch file in the \DOS subdirectory named  DOS5-IMG.
  61.      BAT similiar to the following:
  62.  
  63.        echo off
  64.        \os2\mdos\fsaccess a:
  65.  
  66.      The second line of this batch file will release access to the
  67.      image  file. Otherwise the DOS session thinks the image  file
  68.      is  drive  A, and you will not have access  to  the  physical
  69.      drive a on your system.
  70.  
  71.  
  72.  6.  Open a  OS/2 window, and change to your DOS subdirectory,
  73.      type:
  74.           cd \DOS                <enter>
  75.           VMDISK A: DOS5.IMG     <enter>
  76.  
  77.      This  will  create an image of the diskette  you  created  in
  78.      steps 1 through 5. The image file will be named DOS5.IMG and
  79.      will be located in the \DOS subdirectory.
  80.  
  81.  
  82.  7. Exit the OS/2 Window, and return to the Desktop.
  83.  
  84.  
  85.  8. Create a DOS Window object:
  86.  
  87.     a.  Open the " OS/2 System " folder.
  88.  
  89.     b.  Double click on the "Command Prompts" icon.
  90.  
  91.     c.  Copy the DOS Window icon to the Desktop by holding down
  92.         the CTRL key and dragging the icon to the Desktop.
  93.  
  94.     d.  Close the "Command Prompts" and the "OS/2 System" folder.
  95.  
  96.  
  97.  9.  Change the DOS Settings for the DOS Window icon:
  98.  
  99.     a. Select the "DOS Window" icon by clicking on it once.
  100.  
  101.     b. Bring up its menu by clicking the right mouse button once.
  102.  
  103.     c. Click on the ARROW on the "OPEN" line.
  104.  
  105.     d. Select "Settings".
  106.  
  107.     e. In the "DOS Window - Settings" notebook, select "Session".
  108.  
  109.     f. Select "DOS Settings".
  110.  
  111.     g. Change the following settings:
  112.  
  113.        1. DOS_HIGH           to:   ON
  114.        2. DOS_SHELL          to:   C:\DOS\COMMAND.COM  C:\DOS\ /p
  115.        3. DOS_STARTUP_DRIVE  to:   C:\DOS\DOS5.IMG
  116.  
  117.        Note:
  118.        If your pc has a LAN adapter, or other board that uses RAM
  119.        memory, add the range it uses to the MEM_EXCLUDE_REGIONS
  120.        settings (ie, C800-CC00 for my Ethernet adapter).
  121.  
  122.  
  123.        There may be other settings you wish to change, but don't
  124.        do it yet. Get the DOS Window up and working first, then
  125.        you can make other necessary changes.
  126.  
  127.  
  128.  10.  Save the settings you changed, and exit the notebook.
  129.  
  130.  
  131.  11.  Time to test all this stuff out. Double click on your new
  132.       DOS 5 Window, and you there you are!
  133.  
  134.  
  135. If  you have problems with the above steps, please  double  check
  136. all  your  file and directory names, especially the ones  in  the
  137. "DOS Settings".
  138.  
  139. If  anyone has additional information, corrections, or a  just  a
  140. better  way  of  doing  this, please contact me  at  one  of  the
  141. numbers below. The last thing I want to do is give out wrong,  or
  142. insufficient  information. We will leave that up to the  software
  143. companies (grin).
  144.  
  145.  
  146.  
  147.  
  148. filename: DOS5-IMG.TXT
  149. Orig. Date: 13 Jul. 92
  150. Author: Jeff Grant
  151.  
  152.  
  153. I can be contacted if necessary on one of the following BBS's:
  154.  
  155.    Cubix Technical Support BBS   -    702-882-8737
  156.    MegaSystem BBS                     702-849-2207
  157.  
  158. Or the RIME OS/2 conference.
  159.  
  160.  
  161.