OS\2 2.0 Utility Diskettes For PS\2 and PS\ValuePoint Systems _______________________________________________________________________________ The Utility Diskettes were designed to allow a Personal System (PS\2, PS\VP) computer to boot from the floppy drive A: rather than the hard drive. Utility Diskette 1 and 2 contain the system files required to boot the OS\2* 2.0 operating system. Utility Diskette 3 contains a subset of the OS\2 2.0 commands. The third Utility Diskette includes the following OS\2 2.0 commands BACKUP, CHKDSK, FDISK, FORMAT, RESTORE and SYSTINSTX. These commands support two major functions: First, the ability to backup and restore the OS\2 2.0 operating system to and from floppy diskettes. Second, the ability to recover from errors caused by system crashes or user mistakes. Below is a list of common problems and solutions which users may encounter. The CHKDSK and Desktop procedures located at the end of this document are the most common solutions to problems caused by powering off the system with out doing a proper SHUTDOWN. The Desktop procedures also fixes most common problems with the OS\2 Desktop, including problems with missing icons, icons which fail to open, and menus that are missing options. Problem: During a normal boot the system responds with the following error message(s): - SYS0276: The extended attributes are corrupted. - The system cannot load the Dynamic Link Library (DLL) . - Unable to load OS2CHAR.DLL needed to start system. - COUNTRY.SYS not found. Solution: Follow the "Procedures for Running CHKDSK" listed below. If the CHKDSK fails to report any errors and the system reported a OS2CHAR.DLL error then try coping the file from the Utility Diskette 2 to the hard drive. Insert Utility Diskette 2 into drive A: . From the A:\ command prompt type the following: COPY A:\OS2CHAR.DLL C:\OS2\DLL\*.* (Press 'ENTER') If the CHKDSK fails to report any errors and the system reported a COUNTRY.SYS error, then try coping the CONFIG.SYS from the OS\2 INSTALL subdirectory to the root directory of the OS\2 partition. A backup of the original CONFIG.SYS is stored in the INSTALL subdirectory. To copy the file to the root of the OS\2 partition, at the A:\ command prompt, type the following command: COPY C:\OS2\INSTALL\CONFIG.SYS C:\*.* (Press 'ENTER') After completing these procedures, remove all of the diskettes from drive A: . Press CTRL-ALT-DEL to restart the system from the hard drive. Problem: During a normal boot the system hangs with a blank grey screen. Solution: Follow the "Procedures for Rebuilding the Desktop" listed below. Start with Method 1. If this fails to solve the problem, then try Method 2. Problem: During a normal boot the system hangs with a black screen with OS\2 !! SYS03146 OS\2 !! SYS02027 in the upper left corner of the screen. This may have been caused by deleting one or more files from the root of the OS\2 partition. Solution: Boot the OS\2 2.0 operating system from the Utility diskettes. Insert the OS\2 Utility Diskette 1 into drive A: and then turn the power to the system ON. After the system has read the Utility diskette 1, you will be requested to insert the Utility Diskette 2 into drive A: . Insert the Utility Diskette 2 into drive A: and then press the Enter key. When the system has completed reading the Utility Diskette 2, the A:\ command prompt will be displayed on the screen. Next type DIR C:\ and look for the following files: OS2LDR.MSG, CONFIG.SYS, and AUTOEXEC.BAT. If the OS2LDR.MSG file is missing, then place the Utility Diskette 1 into drive A: and type the following command: COPY A:\OS2LDR.MSG C:\ (Press 'ENTER') If the CONFIG.SYS file is missing then type the following command: COPY C:\OS2\INSTALL\CONFIG.SYS C:\ (Press 'ENTER') If the AUTOEXEC.BAT file is missing, then this file must be recreated manually after OS\2 2.0 is booted from the hard drive by using the OS\2 System Editor. To edit the file, double click on the OS\2 SYSTEM icon with the left mouse button. Double click on COMMAND PROMPTS icon. Double click on an OS/2 WINDOW. Type E AUTOEXEC.BAT at an OS\2 command prompt and press the Enter key. This will start the OS\2 System Editor. Type the following lines: @ECHO OFF ECHO. PROMPT $i$p$g REM SET DELDIR=C:\DELETE,512; PATH C:\OS2;C:\OS2\MDOS;C:\OS2\MDOS\WINOS2;C:\; LOADHIGH APPEND C:\OS2;C:\OS2\SYSTEM REM LOADHIGH DOSKEY FINDFILE=DIR /A /S /B $* REM SET DIRCMD=/A To save the file, select FILE from the menu bar at the top and then select SAVE. If you are requested to choose a file type, select TYPE and thenchoose the PLAIN TEXT option by selecting the SET button. Close the System Editor by double clicking on the upper left corner. Type EXIT and press the ENTER key to leave the OS\2 command prompt. Problem: During a normal boot the system hangs with a black screen with OS\2 !! SYS01475 OS\2 !! SYS02027 in the upper left corner of the screen. This may have been caused by DOS being installed over OS\2 2.0 or a corruption in the OS\2 kernal. Solution: Boot the OS\2 2.0 operating system from the Utility diskettes. Insert the OS\2 Utility Diskette 1 into drive A: and then turn the power to the system ON. After the system has read the Utility diskette 1, you will be requested to insert the Utility Diskette 2 into drive A: . Insert the Utility Diskette 2 into drive A: and then press the Enter key. When the system has completed reading the Utility Diskette 2, the A:\ command prompt will be displayed on the screen. Insert Utility Diskette 3 into drive A: and type the following command to restore the OS\2 hidden system files. SYSINSTX C: (Press 'ENTER') If a DOS installation modified the CONFIG.SYS or the AUTOEXEC.BAT files, then these files will also need to be restored. See the previous problem solution for the procedures on restoring these two files. =============================================================================== Procedures for Running CHKDSK 1. Insert the OS\2 Utility Diskette 1 into drive A: and then turn the power to the system ON. 2. After the system has read the Utility diskette 1, you will be requested to insert the Utility Diskette 2 into drive A: . Insert the Utility Diskette 2 in to drive A: and then press the Enter key. When the system has completed reading the Utility Diskette 2, the A:\ command prompt will be displayed on the screen. 3. Remove Utility Diskette 2 and insert Uitlity Diskette 3. At the A:\ command prompt type the following line: CHKDSK C: /F (Press 'ENTER') 4. The CHKDSK command will return information pertaining to the current configuration of the C: partition. If errors are located, the system will inquire whether or not to write the information to a file. Respond with "Y" to these questions. 5. When the CHKDSK is complete, the [A:\] command prompt will return to the screen. If errors were located, then execute Steps 3 and 4 again. If cross-linked files are encountered, and the CHKDSK command does not correct these errors, then it may be necessary to manually correct these errors by copying the files and\or subdirectories to temporary files and\or subdirectories and then deleting the old files and\or subdirectories. Next the files and\or subdirectories should be restored by copying the temporary files and\or subdirectories to the directories in which the originals resided. Afterwards the CHKDSK command in Step 3 should be executed again. =============================================================================== Procedures for Rebuilding the Desktop Method 1 The first method tries to migrate your current desktop configuration by merging new initialization (INI) files with the corrupt initialization files. 1. Insert the OS\2 Utility Diskette 1 into drive A: and then turn the power to the system ON. 2. After the system has read the Utility diskette 1, you will be requested to insert the Utility Diskette 2 into drive A: . Insert the Utility Diskette 2 into drive A: and then press the Enter key. When the system has completed reading the Utility Diskette 2, the A:\ command prompt will be displayed on the screen. 3. Type C: and press the Enter key to change to the C: drive. The command prompt C:\ should be displayed on the screen. 4. Type CD C:\OS2 and press the Enter Key to change to the OS2 subdirectory. 5. At the command prompt C:\OS2 type the following commands: MAKEINI OS2.INI INI.RC (Press 'ENTER') MAKEINI OS2SYS.INI INISYS.RC (Press 'ENTER') The system should respond with MAKEINI.EXE - Successful completion after each command is entered. 6. At the command prompt, use the ATTRIB command to delete the hidden file WP ROOT. SF from the root of the C: partition. At the command line type: ATTRIB C:\WP?ROOT.?SF -s -r -h (Press 'ENTER') DEL C:\WP?ROOT.?SF (Press 'ENTER') The command prompt will return after each command. 7. Remove any diskette in drive A: . Re-boot your computer by pressing CTRL-ALT-DEL. This should re-build your desktop to your current desktop by replacing the corrupt INI files with new INI files created with the MAKEINI commands. 8. It is highly recommended to do an IMMEDIATE SHUTDOWN after the OS\2 Desktop appears and the hard drive activity has ceased. This will insure that all programs and files have been associated correctly. Use the system SHUTDOWN option from the Desktop menu. Assuming that the configuration of the mouse was unchanged, then mouse button 1 is the left mouse button and mouse button 2 is the right mouse button. If the configuration of the mouse has been changed to left-handed, then the button assignments will be reversed. Click with the mouse button 2 on the Desktop (*not on any icon*) and then choose the SHUTDOWN option with the mouse button 1 from the middle of the menu. The system will ask if you want to continue with the shutdown. Select OK with the mouse button 1. The system may also verify the closing of any sessions containing active programs. Select OK with the mouse button 1. When the shutdown is complete you will be asked to power off the system or press CTRL-ALT-DEL to reboot the system. Press CTRL-ALT-DEL. Method 2 This set of procedures will rebuild the initialization files to the default Desktop which was created when the OS\2 2.0 operating system was installed. Note on some machines the Welcome folder was not part of the original Desktop. This method may erase the Welcome folder from the Desktop. If the folder does not appear after the completion of these procedures, then you will want to contact the OS\2 Support Line ( 1-800-237-5511) and request the Welcome Fax. This fax contains a set of procedures for rebuilding the Welcome folder. 1. Follow steps 1-4 of Method 1. 2. Copy the old INI files to temporary file names by typing the following two lines: COPY C:\OS2\OS2.INI *.BAK (Press 'ENTER' ) COPY C:\OS2\OS2SYS.INI *.BAK (Press 'ENTER') After each COPY command the system should respond with: 1 file(s) copied. 3. Delete the old INI files by typing the following two lines: DEL C:\OS\OS2.INI (Press 'ENTER') DEL C:\OS2\OS2SYS.INI (Press 'ENTER') 4. Follow steps 5-8 of Method 1. If you have tried the above procedures and still are unable to boot your system, IBM recommends you call 1-800-PS2-2227 and request the OS\2 2.0 Backup Diskette Package for Preinstalled Systems. Before restoring these diskettes to your system, the OS\2 2.0 partition should be formated to remove all of the old OS\2 2.0 files. To format the OS\2 2.0 partition, the OS\2 2.0 operating system must be booted from Utility Diskette 1 and 2, and the Utility Diskette 3 must be inserted into drive A: . At the A:\ command prompt, type FORMAT C: and press the Enter key. All data on the C: partition will be erased. TRADEMARKS AND SERVICE MARKS ________________________________________________________________________________ Terms denoted by a single asterisk in this file (*) are trademarks of the IBM Corporation in the United States and/or other countries. These terms include: OS/2 IBM DISCLAIMS ALL WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION, WARRANTIESOF 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. Copyright IBM Corporation, 1992, all rights reserved.