home *** CD-ROM | disk | FTP | other *** search
- OSDICNFG - EDITING THE CONFIG.SYS WITHOUT AN EDITOR
- 10/19/94
-
- ================================================================
- EDITING THE CONFIG.SYS WITHOUT AN EDITOR
- ================================================================
-
- Please Read Entire Document for Full Explanation of Procedures
- ----------------------------------------------------------------
-
- SYMPTOMS:
-
- Cannot access an editor to change the CONFIG.SYS when system is
- started from the OS/2 diskettes.
-
- RESOLUTION:
-
- Boot off the OS/2 floppies and edit the config.sys as follows:
- Start the systems from the OS/2 diskettes and use the following
- directions to edit the CONFIG.SYS.
-
- PROCEDURE:
-
- 1. Boot up with the installation disks, etc. to ESC to an OS/2
- command prompt. Press Enter after typing each of the following
- commands:
-
- A. Type the letter of your OS/2 partition, for example X:
-
- B. Ren config.sys config.bad (this will back up the
- config.sys)
-
- C. Echo set restartobjects=startupfoldersonly>>
- config.sys <reboot>
-
- These commands add the needed line to the end of
- the CONFIG.SYS. ( >> = append to file )
-
- But this doesn't help if we need to CHANGE a line, all you
- can do with this idea is add a line to the config.sys.
-
- EXAMPLE: THE c000005 ERROR.
-
- Replace the lines:
-
- set vio_vga=device(bvhvga, bvhsvga)
- device=c:\os2\mdos\vsvga.sys with set
- vio_vga=device(bvhvga) device=c:\os2\mdos\vvga.sys
-
-
- To do this boot up with installation disk and hit ESC when
- the Welcome to OS/2 screen appears after you insert
- diskette #1. you will then get an A: prompt. Type the
- following and press ENTER after each command.
-
- 1. X: (where X is the letter of you OS/2 partition.
- 2. Copy config.sys config.bad
- 3. \os2\find /i "bvhsvga" config.sys
- 4. \os2\find /i "bvhsvga" config.sys
- 5. \os2\find /i /v "bvhsvga" config.sys > config.1
- 6. \os2\find /i "vsvga" config.1 7. \os2\find /i /v
- "vsvga" config.1 > config.2
-
- At this point, config.2 is the same as the original
- config.sys, minus the offending lines ... now we add them
- back ... echo set vio_vga=device(bvhvga) >> config.2 echo
- device=c:\os2\mdos\vvga.sys >> config.2 copy config.2
- config.sys
-
- Your system should be bootable. The find command will have
- added a '---------- config.sys' and a '----------config.1'
- line to the new config.sys file, and OS/2 should complain
- about them, but they should not stop the system. Once OS/2
- has booted, you just pull up the 'e' edit and remove them
- ...
-