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

  1. OSDICNFG - EDITING THE CONFIG.SYS WITHOUT AN EDITOR
  2. 10/19/94
  3.  
  4. ================================================================
  5.         EDITING THE CONFIG.SYS WITHOUT AN EDITOR
  6. ================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. ----------------------------------------------------------------
  10.  
  11. SYMPTOMS:
  12.  
  13. Cannot access an editor to change the CONFIG.SYS when system is
  14. started from the OS/2 diskettes.
  15.  
  16. RESOLUTION:
  17.  
  18. Boot off the OS/2 floppies and edit the config.sys as follows:
  19. Start the systems from the OS/2 diskettes and use the following
  20. directions to edit the CONFIG.SYS.
  21.  
  22. PROCEDURE:
  23.  
  24. 1. Boot up with the installation disks, etc.  to ESC to an OS/2
  25. command prompt.  Press Enter after typing each of the following
  26. commands:
  27.  
  28.        A. Type the letter of your OS/2 partition, for example X:
  29.  
  30.        B. Ren config.sys config.bad (this will back up the
  31.        config.sys)
  32.  
  33.        C. Echo set restartobjects=startupfoldersonly>>
  34.        config.sys <reboot>
  35.  
  36.        These commands add the needed line to the end of
  37.        the CONFIG.SYS.  ( >> = append to file )
  38.  
  39.        But this doesn't help if we need to CHANGE a line, all you
  40.        can do with this idea is add a line to the config.sys.
  41.  
  42.        EXAMPLE:  THE c000005 ERROR.
  43.  
  44.        Replace the lines:
  45.  
  46.        set vio_vga=device(bvhvga, bvhsvga)
  47.        device=c:\os2\mdos\vsvga.sys with set
  48.        vio_vga=device(bvhvga) device=c:\os2\mdos\vvga.sys
  49.  
  50.  
  51.        To do this boot up with installation disk and hit ESC when
  52.        the Welcome to OS/2 screen appears after you insert
  53.        diskette #1.  you will then get an A:  prompt.  Type the
  54.        following and press ENTER after each command.
  55.  
  56.        1. X:  (where X is the letter of you OS/2 partition.
  57.        2. Copy config.sys config.bad
  58.        3. \os2\find /i "bvhsvga" config.sys
  59.        4. \os2\find /i "bvhsvga" config.sys
  60.        5. \os2\find /i /v "bvhsvga" config.sys > config.1
  61.        6. \os2\find /i "vsvga" config.1 7. \os2\find /i /v
  62.        "vsvga" config.1 > config.2
  63.  
  64.        At this point, config.2 is the same as the original
  65.        config.sys, minus the offending lines ...  now we add them
  66.        back ...  echo set vio_vga=device(bvhvga) >> config.2 echo
  67.        device=c:\os2\mdos\vvga.sys >> config.2 copy config.2
  68.        config.sys
  69.  
  70.        Your system should be bootable.  The find command will have
  71.        added a '---------- config.sys' and a '----------config.1'
  72.        line to the new config.sys file, and OS/2 should complain
  73.        about them, but they should not stop the system.  Once OS/2
  74.        has booted, you just pull up the 'e' edit and remove them
  75.        ...
  76.