OSINDBOT - ADDING DUAL-BOOT PROCEDURES FOR OS/2 - ALL RELEASES 01/24/96 ======================================================================= Adding Dual-Boot Procedures for OS/2--All Releases ======================================================================= Please Read Entire Document for Full Explanation of Procedures -------------------------------------------------------------- DESCRIPTION This document explains how to add a Dual Boot capability to OS/2, and how to recover from the inability to switch from DOS to OS/2 or OS/2 to DOS. RESOLUTION Note: Make sure you have a backup copy of any file you intend to change. Using Dual Boot in OS/2 Warp ---------------------------- When you install OS/2 Warp using the Easy Installation method, a Dual Boot feature is automatically set up. Dual Boot lets you switch between OS/2 and DOS. Dual Boot also determines which operating system should start when you turn on the computer. Each time you shut down and restart, the computer starts in the operating system that was used last. For example, if you shut down your system while running DOS, the system starts in DOS the next time you turn it on. If Dual Boot Does Not Work in OS/2 Warp --------------------------------------- If the BOOT command is unsuccessful when you try to switch from DOS to OS/2, you might have programs running that take up too much memory. If so, close the programs before using the BOOT command. If the programs are loaded from your AUTOEXEC.BAT file, you should deactivate the programs before using the BOOT command. Starting the Dual Boot Feature in OS/2 -------------------------------------- Use the Dual Boot function to switch from one operating system to another. Switching from OS/2 to DOS -------------------------- 1. Open OS/2 System. 2. Open Command Prompts. 3. Select Dual Boot. 4. When a message appears asking if you want your system to be reset, type Y and press Enter. Switching from DOS to OS/2 -------------------------- At the DOS command prompt, type C:\OS1\BOOT /OS2 and press Enter. Installing DOS after Installing OS/2 Warp ----------------------------------------- If you installed OS/2 on drive C and formatted the drive with the FAT file system, and DOS is not installed, your system has Dual Boot capability. OS/2 automatically installs the Dual Boot icon. However, you must install DOS to use the Dual Boot feature. To add Dual Boot after installing OS/2: 1. Open OS/2 System. 2. Open Command Prompts. 3. Select Dual Boot. A Warning box appears reminding you that DOS is not installed and asks if you want to continue. 4. Type Y and press Enter. A message indicates your system is being prepared. When you see the warning to shut down your system, press Enter to close the window. 5. Shut down your system: a. Move the mouse pointer to a blank space on the Desktop; then press mouse button 2. The pop-up menu appears. b. Select Shutdown. c. When prompted, turn off your computer. 6. Install DOS as described in the instructions that came with the DOS package. 7. At the DOS command prompt, type C:\OS2\BOOT /OS2 and press Enter. This returns you to the OS/2 Desktop. Adding Dual Boot Capability to OS/2 ----------------------------------- 1. At the command prompt, type E CONFIG.DOS and press Enter to edit the CONFIG.DOS file. 2. Add the following statement to the file: SHELL=C:DOS\COMMAND.COM /P /E:25 3. Save and exit the file. If prompted for a file type, select Type... and then Plain Text. If CONFIG.DOS or AUTOEXEC.DOS does not exist, create them and add the above statement. 4. From an OS/2 Full Screen session, type the following, pressing Enter after each: CD C:\DOS DIR COMMAND.COM If COMMAND.COM is not in the directory, use the following command to copy it from the root directory, and press Enter: COPY C:\COMMAND.COM C:\DOS\COMMAND.COM 5. Type BOOT /DOS and press Enter. When asked if you wish to continue, type Y and press Enter. 6. After DOS starts, go to a DOS prompt and type the following, pressing Enter after each: CD C\OS2 BOOT /OS2 7. When asked if you wish to continue, type Y and press Enter. The system restarts; then OS/2 starts. Recovering Dual Boot in OS/2 ----------------------------- If both OS/2 and DOS are installed, but you cannot switch between them, perform whichever of the following procedures is appropriate. Cannot Switch from OS/2 to DOS ------------------------------ 1. Start OS/2 from the hard disk. 2. Shut down the system. 3. Insert a DOS bootable diskette in drive A; then restart the system. 4. Type the following, pressing Enter after each: C: COPY C:\CONFIG.SYS C:\OS2\SYSTEM\CONFIG.OS2 COPY C:\AUTOEXEC.BAT C:\OS2\SYSTEM\AUTOEXEC.OS2 COPY C:\OS2\SYSTEM\AUTOEXEC.DOS C:\AUTOEXEC.BAT COPY C:\OS2\SYSTEM\CONFIG.DOS C:\CONFIG.SYS DEL C:\OS2\SYSTEM\CONFIG.DOS DEL C:\OS2\SYSTEM\AUTOEXEC.DOS RENAME C:\OS2\SYSTEM\BOOT.DOS C:\OS2\SYSTEM\TEMP A: SYS C: 5. Remove the diskette from drive A and restart the system. Note: If SYS.COM cannot be found on drive A, copy it from the \DOS subdirectory on the hard disk. Cannot Switch from DOS to OS/2 ------------------------------ 1. Start DOS from the hard disk. 2. Insert the Installation Diskette in drive A and restart the system. 3. When prompted, remove the Installation Diskette and insert Diskette 1. 3. When the Welcome screen appears, press Esc to get to the command prompt. 4. At the A: prompt, type C: and press Enter. 5. Type the following, pressing Enter after each: COPY C:\CONFIG.SYS C:\OS2\SYSTEM\CONFIG.DOS COPY C:\AUTOEXEC.BAT C:\OS2\SYSTEM\AUTOEXEC.DOS COPY C:\OS2\SYSTEM\AUTOEXEC.OS2 C:\AUTOEXEC.BAT COPY C:\OS2\SYSTEM\CONFIG.OS2 C:\CONFIG.SYS DEL C:\OS2\SYSTEM\CONFIG.OS2 DEL C:\OS2\SYSTEM\AUTOEXEC.OS2 RENAME C:\OS2\SYSTEM\BOOT.OS2 BOOT.OLD A: 6. Insert the Installation Diskette in drive A; then type SYSINSTX C: and press Enter. 7. Remove the diskette from drive A and restart the system. Note: If SYS.COM cannot be found on drive A, copy it from the \DOS subdirectory on 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. 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.