Dual-booting on x86-based Computers

When your system partition contains the Windows NT Partition Boot Sector, Windows NT supports dual-booting between one or more instances of Windows NT and one additional operating system. The additional operating systems that are currently supported are MS-DOS, Windows 95, and OS/2, versions 1.1 and 1.3. OS/2 versions 2.x might work, but are not supported.

You can also triple-boot Windows NT, Windows 95, and MS-DOS. You can install and start up other operating systems from your hard disk, but you need to change the system partition. For procedures to change the system partition, see "Setting the System Partition," presented earlier in this chapter.

When you install a Windows NT operating system on an x86-based computer, Windows NT Setup copies the first sector of the system partition (the Partition Boot Sector) to a file named Bootsect.dos. It then replaces the Partition Boot Sector with its own Partition Boot Sector.

When you start your computer and the system partition contains the Windows NT Partition Boot Sector, the code in the Partition Boot Sector loads the Windows NT boot loader, NTLDR. The boot loader screen enables you to choose which Windows NT installation to start, or to start another operating system that is defined on the boot loader screen.

If you select an operating system other than Windows NT from the boot loader screen, NTLDR loads and starts the Bootsect.dos file. This functionality results in the other operating system starting as if NTLDR had not intervened. In the case of MS-DOS, the Bootsect.dos code looks for IO.sys; in the case of OS/2, the Bootsect.dos code looks for Os2ldr.exe.

Configuring for Windows NT and MS-DOS

You can dual-boot between Windows NT and MS-DOS on an x86-based computer.

Configuring your computer is easier if you install MS-DOS before you install Windows NT. If you decide to install MS-DOS after you have installed Windows NT, MS-DOS overwrites the Windows NT information in the Partition Boot Sector with its own information. You should have a current Emergency Repair Disk for the computer on which you are installing MS-DOS.

If you have already installed Windows NT and want to install MS-DOS, use one of the following procedures. After you install MS-DOS, you will need to replace the MS-DOS Partition Boot Sector with the Windows NT Partition Boot Sector.

To Install MS-DOS from floppy disks

1. Boot from the A drive. The MS-DOS Setup program executes. Install MS-DOS following the instructions in the program.

2. When MS-DOS Setup completes, remove the floppy disk from the A drive.

3. Restore the Windows NT Partition Boot Sector by using the procedure described later in this section.

4. When you restart after replacing the Partition Boot Sector, you have a dual-boot computer.

To Install MS-DOS from the network

1. Install MS-DOS from the network by executing Setup.exe.

2. When MS-DOS Setup completes, restore the Windows NT Partition Boot Sector by using the procedure described later in this section.

3. When you restart after the replacing the Partition Boot Sector, you have a dual-boot computer.

After you install MS-DOS, you need to replace the MS-DOS Partition Boot Sector with the Windows NT one. To be able to dual-boot MS-DOS, you also need to create the file Bootsect.dos. The next procedure does both of these things.

To Restore the Windows NT Partition Boot Sector

1. Start up the computer from the Windows NT Setup disk 1. Follow the instructions to insert disk 2. When Windows NT Setup asks what you want to do, select the option to Repair by pressing the R key. Windows NT Setup displays the following options:


[X]  Inspect registry files 
[X]  Inspect startup environment
[X]  Verify Windows NT system files
[X]  Inspect boot sector
Continue (perform selected tasks)

2. Clear all selections except the last one, Inspect boot sector. Select Continue (perform selected tasks) and press ENTER.

3. Insert Setup Disk 3 when prompted.

4. You are prompted for the Emergency Repair Disk. Setup displays the following messages after it has finished processing the Emergency Repair Disk:


Setup has completed repairs.
If there is a floppy disk inserted in drive A:, remove it.
Press ENTER to restart your computer.

When you restart the computer, you can select a Windows NT installation or MS-DOS from boot loader screen.

After you have installed MS-DOS and replaced the Partition Boot Sector, it is a good idea to make a MS-DOS bootable floppy disk. This floppy disk should include the MS-DOS files, as well as the Master Boot Record and Partition Boot Sector for each boot partition. See "MS-DOS Bootable Floppy Disk" in Chapter 20, "Preparing for and Performing Recovery," for information about creating this disk.

Configuring for Windows NT and Windows 95

You can configure your computer to start either of these two operating systems. Currently, your installations are easier and less error-prone if you install Windows 95 first and then install Windows NT. This order is recommended because sometimes Windows 95 replaces a Windows NT Partition Boot Sector with its own Partition Boot Sector. A Windows 95 Partition Boot Sector causes a problem for NTFS volumes, because the Windows 95 Partition Boot Sector is for a FAT partition. Windows NT can no longer access the NTFS volume. If you install Windows 95 first, use the installation procedures provided with the Windows 95 CD-ROM.

If you want to be able to triple-boot Windows 95, Windows NT, and MS-DOS, you should install MS-DOS first, as described in "Triple-booting Windows NT, Windows 95, and MS-DOS," presented later in this chapter.

If you have Windows NT installed, and want to be able to install and dual-boot Windows 95, you must configure Windows NT to dual-boot with MS-DOS. See "Configuring for Windows NT and MS-DOS," presented earlier in this chapter, for the procedures to install MS-DOS if you do not already have it installed. Then use the procedures described in "Triple-booting Windows NT, Windows 95, and MS-DOS," presented later in this chapter.

Configuring for Windows NT, Windows 95, and MS-DOS

On an x86-based computer, you can configure your computer to triple-boot one of these three operating systems. You should install them in the following order:

Install each of these operating systems using their standard installation procedure. To start Windows NT, select the instance to start on the boot loader screen. You can also select Windows 95 from the boot loader screen.

To start MS-DOS, first select Windows 95 from the boot loader screen. Select Enter on the screen, and press either the F4 or the F8 key. When you press F8, Windows 95 displays its Startup menu. Select Previous version of MS-DOS to start MS-DOS. Using the F4 key bypasses the Windows 95 Startup menu and starts MS-DOS directly.

Another way to be able to start all three of these operating systems is to configure your computer for a dual-boot of Windows NT and Windows 95, and start MS-DOS from an MS-DOS bootable floppy disk.

If you install Windows 95 in an existing Windows folder rather than doing a clean install, you need to edit Msdos.sys to enable Windows 95 to dual-boot MS-DOS. Do this by making the file visible, and then turning off the read only attribute. You can then change the file.

To Enable startup of MS-DOS from Windows 95

1. On the View menu of My Computer or Windows NT Explorer, click Options.

2. On the Options tab, select Show all files. Click OK.

3. Find Msdos.sys and click the filename.

4. On the File menu, click Properties.

5. In the Attributes box of the General tab, clear the Read Only and Hidden check boxes, and then click OK.

6. Using a text editor, such as Notepad, add the following line to the [Options] section of Msdos.sys:

BootMulti=1

If you upgrade or reinstall Windows 95, Setup deletes any of these files that it finds in your MS-DOS folder and replaces them with the Windows 95 versions in the Windows95 folder and Windows95\Command folder:

Ansi.sys

Doskey.com

Keyb.com

Ramdrive.sys

Attrib.sys

Drvspace.bin

Keyboard.sys

Readme.txt

Chkdsk.exe

Drvspace.exe

Label.exe

Scandisk.exe

Choice.com

Drvspace.sys

Mem.exe

Scandisk.ini

Country.sys

Edit.com

Mode.com

Server.exe

Dblspace.bin

Edit.hlp

More.com

Share.exe

Dblspace.exe

Ega.cpi

Move.exe

Smartdrv.exe

Dblspace.sys

Emm386.exe

Mscdex.exe

Sort.exe

Debug.exe

Fc.exe

Msd.exe

Start.exe

Defrag.exe

Fdisk.exe

Networks.txt

Subst.exe

Deltree.exe

Find.exe

Nlsfunc.exe

Sys.com

Diskcopy.exe

Format.com

Os2.txt

Xcopy.exe

Display.sys

Help.com


If you already have a dual-boot configuration of Windows NT and MS-DOS, you can install Windows 95 by using the following procedure. You should have a current Emergency Repair Disk for your Windows NT installation(s).

To Install Windows 95 on a Windows NT/MS-DOS dual-boot configuration

1. Shut down Windows NT and restart your computer. Select MS-DOS from the boot loader screen.

2. Install Windows 95. Make sure you install Windows 95 to a separate folder, and not the Windows NT %systemroot% folder.

After you successfully install Windows 95 and restart the computer, the Windows NT boot loader screen should appear and you can choose between Windows NT and Windows 95. Windows 95 is the first entry on the screen. If you want to make Windows NT the default, see "Contents and Purpose of Boot.ini," presented later in this chapter, for information about changing the order of the selections.

If the Windows NT boot loader screen does not appear, restore the Windows NT Partition Boot Sector by using the procedure in "Dual-booting Windows NT and MS-DOS," presented earlier in this chapter.

Note

If you do not install Windows 95 on the C drive, Windows 95 Setup creates a hidden, read only folder on your C drive that has the same name as the folder into which you are installing Windows 95.

Configuring for a Multi-boot With OS/2

If you want to install OS/2, this is the order in which you should install the operating systems:

This is the safest order in which to install all four operating systems. MS-DOS, Windows 95, and Windows NT all have to share a system partition (C:), but can be installed on their own individual partition. They can also be installed in the same partition, but Windows 95 and Windows NT must be installed in different folders. OS/2 requires its own primary partition on the first hard disk, and also requires a second, small primary partition for the BOOTLOADER.

If done correctly, the startup sequence will be:

1. The OS/2 bootloader loads, and you have the choice of starting from the OS/2 partition, or starting from the MS-DOS/Windows 95/Windows NT system partition.

2. When the Windows NT boot loader loads, you can select from one or more versions of Windows NT or Windows 95.

3. If you select Windows 95, you can press F8 and get the Windows 95 Startup menu, which allows you to start Windows 95, the Windows 95 command prompt only, or the previous version of MS-DOS.

The above sequence work if you install fewer than the four operating systems.