OSDICNTY - COUNTRY.SYS ERROR ON STARTUP OF OS/2 2.1 01/15/96 ======================================================================= COUNTRY.SYS Error on Startup of OS/2 2.1 ======================================================================= Please Read Entire Document for Full Explanation of Procedures -------------------------------------------------------------- DESCRIPTION After OS/2 2.1 is installed and running for some time a "COUNTRY.SYS not found" error appears when you start the system. The main reasons for this error are: * The OS/2 CONFIG.SYS file was damaged or deleted. * OS/2 cannot load a driver for the startup drive. * The OS/2 drive letter has been remapped. RESOLUTION Note: Make sure you have a backup of any file you intend to change. Damaged or Deleted CONFIG.SYS File ---------------------------------- Note: In the procedure, C is the drive where OS/2 is installed. 1. Insert the OS/2 Installation Diskette in drive A and restart the system. 2. When prompted, insert Diskette 1 and press Enter. 3. At the Welcome screen, press Esc to go to the A prompt. 4. Type the following and press Enter to rename the CONFIG.SYS file: REN C:\CONFIG.SYS CONFIG.OLD Note: If CONFIG.SYS has been deleted, an error message appears. 5. Type the following and press Enter to copy the CONFIG.SYS file from the \INSTALL directory to the root directory: COPY C:\OS2\INSTALL\CONFIG.SYS C:\ 6. Restart the system. OS/2 Cannot Load a Driver for the Startup Drive ----------------------------------------------- For example, if you have an IDE hard disk and the OS/2 CONFIG.SYS file does not contain BASEDEV=IBM1S506.ADD, when OS/2 is started, the COUNTRY.SYS error might appear. You must edit the OS/2 CONFIG.SYS file and add the BASEDEV statement. If you have DOS on the system and OS/2 is not in an HPFS partition, you can use a DOS editor to edit the OS/2 CONFIG.SYS file. If OS/2 is in an HPFS partition, you might have to copy the OS/2 CONFIG.SYS file to a diskette first and then edit the file. The OS/2 Drive Letter Has Been Remapped --------------------------------------- If another hard disk is added to a system, the logical partitions on the first hard disk are remapped if the new drive contains a primary partition. For example, assume you have a hard disk with a "C" primary DOS partition and a "D" logical OS/2 partition. If a second hard disk is added and given a primary partition, the primary partition on the second hard disk will take the "D" drive letter and force the OS/2 partition to take the "E" drive letter. Because paths to all OS/2 drivers in the CONFIG.SYS file are still pointing to the D drive, when OS/2 is started, the COUNTRY.SYS error occurs. There are two options in this case: OPTION 1 Delete the primary partition on the second drive and re-create it as a logical partition: 1. Start the system from OS/2 diskettes and press Esc at the Welcome screen to go to the A: prompt. 2. With Diskette 1 still in drive A, type FDISK at the A: prompt. 3. Delete the primary partition on the second hard disk. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Warning: If this partition contains data, make sure you * * back up the data on the drive before deleting it. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 4. Create a logical partition in its place. 5. Save the changes and exit FDISK. 6. Restart the system. OPTION 2 Change all references in the CONFIG.SYS file from the former OS/2 drive letter to its new drive letter. In the example above, all references to "D" would be changed to "E"; that is, DEVICE=D:\OS2\SYSTEM\COUNTRY.SYS becomes DEVICE=E:\OS2\SYSTEM\COUNTRY.SYS ______________________________________________________________________ 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. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.