home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osdiremv.txt < prev    next >
Text File  |  1996-10-27  |  4KB  |  107 lines

  1. OSDIREMV - REMOVING OS/2 2.X
  2. 01/24/96
  3.  
  4. =======================================================================
  5.                            Removing OS/2 2.x
  6. =======================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. --------------------------------------------------------------
  10.  
  11. DESCRIPTION
  12.  
  13. At times, it might be necessary to remove OS/2 from a system. For 
  14. example, if you have to reinstall OS/2, you should first remove the 
  15. existing operating system. If you installed OS/2 in a dual-boot 
  16. configuration, it is important to boot back to DOS before removing 
  17. OS/2. If you are unable to do this, follow the instructions provided 
  18. later in this document.
  19.  
  20. RESOLUTION
  21.  
  22. To remove the OS/2 operating system:
  23.  
  24. 1. Remove any hidden files that might exist in the OS2\BITMAP directory
  25.    by typing the following. Press Enter after each.
  26.  
  27.       CD OS2\BITMAP
  28.       ATTRIB -s -h aaaaa.*
  29.       ERASE aaaaa.*   
  30.  
  31. 2. Remove the following OS/2 specific directories:
  32.  
  33.       \OS2
  34.       \SPOOL
  35.       \PSFONTS
  36.       \NOWHERE
  37.       \DESKTOP      (might be DESKTOP2, DESKTOP3, ...)
  38.       \OS!2_2.0_D   (OS/2 2.0 Workplace Shell directory)
  39.  
  40. 3. Remove the OS/2 system files from the root directory by typing the
  41.    following. Press Enter after each.
  42.  
  43.       ATTRIB -s -r -h OS2*.*
  44.       ERASE OS2*.*
  45.  
  46.       ATTRIB -s -r -h EA?DATA.?SF
  47.       ERASE EA?DATA.?SF
  48.  
  49.       ATTRIB -s -r -h WP?ROOT.?SF
  50.       ERASE WP?ROOT.?SF
  51.  
  52. 4. Run CHKDSK to clear up any extended-attribute problems that might
  53.    occur:
  54.  
  55.    a. Insert the Installation Diskette in drive A.
  56.  
  57.    b. Press Ctrl+Alt+Del to restart the system.
  58.  
  59.    c. When prompted, remove the Installation Diskette and insert
  60.       Diskette 1; then press Enter.
  61.  
  62.    d. At the Welcome screen, press Esc to go to a command prompt.
  63.  
  64.    e. Remove Diskette 1 and insert Diskette 2, which contains the
  65.       CHKDSK command.
  66.  
  67.    f. Type CHKDSK x: /F and press Enter (x is drive where OS/2 is
  68.       installed.)
  69.  
  70.    g. Remove the diskette from drive A and restart the system.
  71.  
  72. If you are reinstalling OS/2 2.x with the dual-boot option, you must be 
  73. able to start DOS from your hard disk before proceeding. If you need to 
  74. put DOS back on your system, you can either reinstall your DOS package, 
  75. or do the following, easier steps:
  76.  
  77. 1. Start the system with a DOS bootable diskette.
  78.  
  79. 2. Check the diskette for the SYS.COM file. If it isn't there, copy the
  80.    file from the DOS directory on the hard disk.
  81.  
  82. 3. Type SYS C: and press Enter. (This makes the hard disk bootable
  83.    again.)
  84.  
  85. 4. If you have backup copies of the DOS CONFIG.SYS and AUTOEXEC.BAT
  86.    files, copy them to the root directory, overwriting the OS/2
  87.    CONFIG.SYS and AUTOEXEC.BAT files.
  88.  
  89.    If you do not have backup copies, and you installed OS/2 in a
  90.    dual-boot configuration, type the following to retrieve the files
  91.    OS/2 saved. Press Enter after each.
  92.  
  93.       COPY C:\OS2\SYSTEM\CONFIG.DOS C:\CONFIG.SYS
  94.       COPY C:\OS2\SYSTEM\AUTOEXEC.DOS C:\AUTOEXEC.BAT
  95.  
  96. You should now be able to boot to DOS from the hard disk.
  97.  
  98. ______________________________________________________________________
  99. IBM disclaims all warranties, whether express or implied, including 
  100. without limitation, warranties of fitness and merchantability with 
  101. respect to the information in this document. By furnishing this 
  102. document, IBM grants no licenses to any related patents or copyrights.  
  103. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  104. or brand names referenced in this document are the property of their 
  105. respective owners. Consult your product manuals for complete trademark 
  106. information. 
  107.