OSDIREMV - REMOVING OS/2 2.X FROM A SYSTEM 12/09/94 ================================================================ REMOVING OS/2 2.X FROM A SYSTEM ================================================================ Please Read Entire Document for Full Explanation of Procedures ---------------------------------------------------------------- At times, it may be necessary to remove OS/2 from a system manually. For example, if OS/2 has to be reinstalled, it is recommended that the existing operating system first be removed. If you have installed OS/2 in a dual boot configuration, it is important to boot back to DOS before removing OS/2. If you cannot boot back to DOS, instructions are in this document. RESOLUTION: 1. Remove any hidden files that may exist in the OS2\BITMAP directory. 2. Remove all the OS/2 specific directories. 3. Delete the OS/2 system files from the root directory. 4. Run CHKDSK to clear up any corruption on the drive. PROCEDURES: 1. Type the following commands to remove any hidden files that may exist in the OS2\BITMAP directory, for example, C:\OS2\BITMAP. Press Enter after each one. CD OS2\BITMAP ATTRIB -s -h aaaaa.* ERASE aaaaa.* 2. Remove the following OS/2 specific directories: \OS2 \SPOOL \PSFONTS \NOWHERE \DESKTOP (may be DESKTOP2, DESKTOP3, ...) \OS!2_2.0_D (OS/2 2.0 Workplace Shell directory) 3. Remove the OS/2 system files from the root directory: ATTRIB -s -r -h OS2*.* ERASE OS2*.* ATTRIB -s -r -h EA?DATA.?SF ERASE EA?DATA.?SF ATTRIB -s -r -h WP?ROOT.?SF ERASE WP?ROOT.?SF 4. To clear up any extended attribute problems that may occur, run CHKDSK: a. Insert the Installation diskette into drive A. b. Restart the system. c. When prompted, remove the Installation diskette and insert diskette 1. Press Enter. d. At the Welcome screen, press Esc to go to a command prompt. e. Remove diskette 1 and insert diskette 2, which contains the CHKDSK command. f. Type the following at the command prompt: CHKDSK C: /F and press Enter. NOTE: C: is drive where OS/2 resides g. Remove the diskette from drive A and restart the system. CAUTION: If you are going to be reinstalling OS/2 2.X with the dual boot option, you MUST be able to start DOS from your hard disk before proceeding. Use the following instructions if you need to put DOS back on your system. PUTTING DOS BACK ON THE SYSTEM ---------------------------------------------------------------- You can put DOS back by reinstalling your DOS package. An easier way is to use the DOS SYS command. Do the following to use the SYS command: 1. Start the system with a DOS bootable diskette. 2. If the SYS.COM file is not on the diskette, copy it from the DOS directory on the hard disk to the diskette. 3. Type the following to make the hard disk bootable again: SYS C: 4. If you have a backup copy of the DOS CONFIG.SYS and AUTOEXEC.BAT copy them into the root directory, overwriting the OS/2 CONFIG.SYS and AUTOEXEC.BAT. If you do not have a backup, and installed OS/2 in a dual boot configuration, type the following to retreive the ones OS/2 saved: COPY C:\OS2\SYSTEM\CONFIG.DOS C:\CONFIG.SYS COPY C:\OS2\SYSTEM\AUTOEXEC.DOS C:\AUTOEXEC.BAT 5. You should now be able to start to DOS from the hard disk. ---------------------------------------------------------------- IBM disclaims all warranties, whether express or implied, including without limitation, warranties of fitness and merchantability with respect to the information in this document. By furnishing this document, IBM grants no licenses to any related patents or copyrights.