home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
alltips.zip
/
DICNFG.FAX
< prev
next >
Wrap
Text File
|
1994-12-08
|
2KB
|
68 lines
Editing config.sys without an editor 7/19/94
File:OSDICNFG.fax
TITLE: EDITING THE CONFIG.SYS WITHOUT AN EDITOR
DESCRIPTION OF SYMPTOMS:
Unable to access an editor to change the config.sys when
booted up from the OS/2 floppies.
DETAILS OF RESOLUTION:
Boot off the OS/2 floppies and edit the config.sys as
follows:
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. X: (where X is the letter of your OS/2 partition)
B. Ren config.sys config.bad (this will back up the
config.sys)
C. Echo set restartobjects=startupfoldersonly>>
config.sys <reboot>
What these commands do is 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
...
12/31/99