Microsoft KB Archive/73200

= Using the Uninstall Disk to Create a Dual-Boot Configuration =

Article ID: 73200

Article Last Modified on 11/20/1999

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition

-



This article was previously published under Q73200



SUMMARY
You can keep MS-DOS version 5.0 on your hard drive and boot from the previous version of MS-DOS to run applications that won't run in MS-DOS 5.0. However, several precautions must be taken. For example, MS-DOS 3.2x and earlier do not support partitions over 32 megabytes (MB) or extended DOS partitions. If one of these MS-DOS versions is started up, MS-DOS will not recognize the partition, and the data there will be inaccessible. The same problem occurs with MS-DOS 3.3 with single partitions of greater than 32 MB. Other problems may occur due to nonstandard hard drives or third-party disk managers.



MORE INFORMATION
Caution: In the procedure below, you can cause the hard disk to become inaccessible. Type in commands from the command prompt in all capitals, and press the ENTER key at the end of each line. Before following this procedure, type in the following from the command prompt:

PROMPT $P$G

This command causes the prompt to display the current directory. In the following instructions, make sure that the commands are typed in from the same directory as given in the examples. For demonstration purposes, the sample commands are given as if you wanted to make MS-DOS 3.3 start up under MS-DOS 5.0.

To keep MS-DOS version 5.0 on your hard drive and boot from the previous version of MS-DOS to run applications that won't run in MS-DOS 5.0, do the following (after taking the precautions listed above):

 Boot the earlier version of MS-DOS from the original MS-DOS floppy disks. Check to make sure that each partition of the hard drive is accessible in the earlier version of MS-DOS. To do this, move to the root directory in each drive, and type DIR. For example, to make sure that drive C is accessible, type the following:

A:\>C:

C:\>DIR

If any error occurs in either of these steps, do not attempt this procedure. If all drives are accessible, insert the disk that contains the MS-DOS FORMAT command for the earlier version of MS-DOS. The FORMAT command is normally on the bootable disk. If it is not, check all of the other MS-DOS disks. To do this, remove the boot disk and check each MS-DOS disk by inserting each disk in drive A and typing:

A:\>DIR FORMAT.*

When you find the disk that contains FORMAT, leave that disk in drive A. From the command prompt, type the following:

A:\>FORMAT A: /S

When prompted, remove the disk in drive A, insert a blank disk, and follow the instructions.

Remove this disk and label it as a bootable disk for the MS-DOS version that the disk contains.  Create a new directory on one of the accessible partitions on the hard drive to copy the MS-DOS files of the earlier MS-DOS version. For example, if you are creating an MS-DOS 3.3 bootable disk with MS-DOS 5.0 on the hard drive, create a directory called DOS33 with the following command from the root directory of drive C.       C:\>MKDIR C:\DOS33   Change to the directory that you have just created and copy all of the files from the OLD_DOS.1 directory into the current directory. For example: <pre class="fixed_text">      C:\>CD \DOS33 C:\DOS33>COPY C:\OLD_DOS.1\*.* </li>  Insert the Uninstall #1 disk that was created when the operating system was upgraded to MS-DOS 5.0. Copy the files CONFIG.DAT and AUTOEXEC.DAT to the DOS33 directory. For example: <pre class="fixed_text">      C:\DOS33>COPY A:\CONFIG.DAT C:\DOS33\CONFIG.DAT C:\DOS33>COPY A:\AUTOEXEC.DAT C:\DOS33\AUTOEXEC.DAT </li>  Insert the bootable disk that was created in step 4. Copy the CONFIG.DAT and AUTOEXEC.DAT files to the floppy disk, renaming them CONFIG.SYS and AUTOEXEC.BAT, respectively. <pre class="fixed_text">      C:\DOS33>COPY C:\DOS33\CONFIG.DAT A:\CONFIG.SYS C:\DOS33>COPY C:\DOS33\AUTOEXEC.DAT A:\AUTOEXEC.BAT </li> Change the CONFIG.SYS file on the floppy disk and on the hard drive so that the following conditions are met:

<ol style="list-style-type: lower-alpha;"> It is critical that all device drivers match the version of MS-DOS that is being booted. To make it easier, we recommend that you keep the device drivers in the same directory as the MS-DOS files.</li>  The CONFIG.SYS file must contain a SHELL= statement. For example, the MS-DOS 3.3 CONFIG.SYS file should have the following statement: <pre class="fixed_text">         SHELL=C:\DOS33\COMMAND.COM C:\DOS33\  /P The MS-DOS 5.0 CONFIG.SYS file should have the following statement: <pre class="fixed_text">         SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P If your CONFIG.SYS file does not have a SHELL= statement as shown above, add or modify it. </li> Make sure that both MS-DOS subdirectories contain the proper version of the file COMMAND.COM.</li></ol> </li> The AUTOEXEC.BAT file on the hard disk and on the floppy disk must be changed so the following conditions are met:

<ol style="list-style-type: lower-alpha;"> If there is a statement that begins &quot;COMSPEC=&quot;, delete it.</li> The path statement must be changed so that the proper directory is searched for each version of MS-DOS. In this example, the bootable floppy disk should have a path that contains C:\DOS33, while the MS-DOS 5.0 path statement will contain C:\DOS.</li></ol> </li></ol>

If you want to keep an earlier version of MS-DOS on the hard drive and boot MS-DOS 5.0 from a floppy disk, use the following procedure. The commands for creating a directory and copying files are the same as given above.

<ol> Install DOS 5.0, following the directions given in the version 5.0 &quot;Microsoft MS-DOS Getting Started&quot; manual.</li> Create a new directory called DOS5.</li> Copy all of the DOS files from the DOS directory to the DOS5 directory.</li>  Copy the following files from the root directory of drive C to the DOS5 directory: <pre class="fixed_text">     COMMAND.COM (if it is in the root directory) AUTOEXEC.BAT CONFIG.SYS WINA20.386 </li> Format a disk with the &quot;/S&quot; parameter.</li> Copy the AUTOEXEC.BAT, CONFIG.SYS, and WINA20.386 files from the DOS5 directory to the disk in drive A.</li> Edit the CONFIG.SYS and AUTOEXEC.BAT files on the floppy disk so that the conditions outlined in steps 9 and 10 above are met. The WINA20.386 file should be left untouched. It is only necessary if you want to run Microsoft Windows 3.0 in enhanced mode.</li> <li>Insert the Uninstall #1 disk and reboot the computer. At the first screen, press R to uninstall MS-DOS 5.0.</li></ol>

The procedure is complete.

Additional query words: 5.00 noupd

Keywords: KB73200

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.