Forum Home
Press F1
 
Thread ID: 21474 2002-06-27 04:32:00 FAQ #2 Multi-booting a Windows System Graham Petrie (449) Press F1
Post ID Timestamp Content User
57666 2002-06-27 04:32:00 Introduction

There are many reasons why you may want to run more than one copy of windows on your PC . You may want to keep your old OS whilst you try out a new one (like Windows XP), or you may have compatibility issues with old software on your new OS, and wish to retain an old one to run this software on . Also, you may want to test programs you have written on different versions of windows before you release it . I will assume that you have your own reasons, and now wish to perform the task of turning your PC into a multi-boot system . This HOW-TO will deal with the multi-booting of two or more Windows Operating Systems . Multi-booting with Linux will be covered in another article .

This article will cover multi-booting any of the following Operating Systems:

MS-DOS
Windows 95/98/ME/2000/NT/XP

What You Need

The first step is to acquire the installation disks (and boot disks for MS-DOS or Windows 95/98) of the Operating Systems you wish to install on your PC .

You will also need some software for partitioning your hard-drive . You could use the DOS function 'fdisk' or you could obtain a boot disk for a program such as Partition Magic . If you already have a Windows Operating System installed on your system, you could use a program such as Partition Magic to partition your drive from a Windows interface .

Backing UP

Now you have what you need to get started, there is some preparation you must do before you start partitioning your drive . If you are starting with a blank hard-drive, you can miss this step .

It is possible to create a multi-boot system whilst retaining an existing Operating System, but as I believe that a multi-boot system should be built on a clean slate, I will not be covering this possibility . You can read between the lines if you like, and with a little luck, you may get away with it, but I do not recommend it .

So, the first step in preparing your hard-drive is to back-up any important information currently on the drive to another drive, or to a removable media such as floppy disk or CD-R . More detailed information on backing-up can be found in another article . I will just assume you have some-how managed to get it done . Don’t forget any updated drivers or Windows updates . You may also wish to find updated drivers for all your hardware for each of the Operating Systems you wish to install whilst you still have a working system, to make things easier later on . Back these up with you other critical files .

Now you have all your data safely backed up, it is time to partition and format your hard-drive in preparation of the impending install .

Preparing Your Hard-drive

Before you rush in and slice up your hard-drive, there are several things to consider .

How big is the drive? Is it big enough for all the Operating Systems you wish to install, and your data? You will find it difficult to dual-boot Windows XP and Windows 98, and store all your files on a 4GB hard-drive .

How many Operating Systems do you want to boot? This will determine the minimum number of partitions you need .

What file system do you want to use for each Operating System (OS)? There are several to choose from, which are discussed in a different article (I will go over the basics here) .

You should draw a diagram to help you figure out how many partitions you need, and how much space to allocate each of them .

As an example throughout this article I will use a 20GB hard-drive and install three Operating Systems on it (MS-DOS, Windows 98 and Windows XP) .

For this set-up we require a minimum of three partitions (one for each OS) . I am going to use four (the extra one will be for files only) . For detailed information about partitioning, see a separate article – I will go over the basics here . I am creating a separate partition for data so that I can easily reformat on of my OS partitions at a later date without losing my critical data . The following table shows the layout of my partitioned drive:

Partition 1: MS-DOS File System: FAT Partition Type: Primary Partition Size (GB): 2
Partition 2: Windows 98 File System: FAT32 Partition Type: Primary Partition Size (GB): 3
Partition 1: Windows XP File System: NTFS Partition Type: Primary Partition Size (GB): 5
Partition 1: None (Data) File System: FAT32 Partition Type: Logical Partition Size (GB): 10

I have given each OS a decent sized partition to allow for flexibility with programs, and to ensure there will always be plenty of space . You could get away with partitions up to half as big before you ran into major difficulties .

If you wish to boot MS-DOS with Windows NT, the DOS partition must be smaller than 2GB to allow part of the NT partition to be within the first 2GB of the disk . This is due to boot limitations of Windows NT, and doesn’t apply to the other OS’s . Note: A bootable Windows NT partition must also be smaller than 7 . 8GB .

There are three possible types of partition: Primary, Logical and Extended . An OS MUST be installed on a primary partition . Windows Master Boot Records (MBR) only support up to four primary partitions on any physical drive, so you are effectively limited to four OS’s on any one hard-drive .

Data may be placed in a logical partition . Logical partitions are located within an extended partition . In this case, there are three primary partitions, and one extended partition . There is one logical partition within the extended partition which takes up all of the available space in the extended partition .

The file system of each partition must be considered . MS-DOS and Windows 3 . 1/95 must be installed on a FAT partition . Windows 98/ME cannot “see” NTFS, and Windows NT/2000/XP can “see” all Microsoft file systems (FAT, FAT32, and NTFS) . Note: Newer versions of Windows 95 can also read FAT32 partitions .

Thus, I have installed DOS on a FAT partition, Windows 98 on a FAT32 partition, XP on an NTFS partition, and made the data partition a FAT32 partition so that it can be read by both Windows 98 and XP .

There are two options available when partitioning your drive . The first is to use a DOS boot floppy to run fdisk and set-up all the partitions at once . This has limitations as DOS may not recognise all of your hard-drive if it is a larger one, and DOS cannot format partitions as NTFS or FAT32 . The better option is to install the first OS, and partition the drive after each install in preparation for the next one . For this you will need a program like partition magic . You can of course create the partitions in DOS, and format them at the installation stage for each OS . This would be my preferred method if I did not have access to Partition Magic .

The order of the partitions should be the same as the order of installation of the OS’s for ease . The order of installation of the OS’s is very important if you want a workable PC . If you install DOS after you have installed XP, DOS will overwrite XP’s boot info, and your PC won’t know XP is there .

The order for install Operating Systems is as follows (cross out those OS’s you don’t wish to install, and you will be left with the order to install your specific set of OS’s):

MS-DOS
Windows 3 . 1
Windows NT
Windows 95
Windows 98
Windows ME
Windows 2000
Windows XP

The general rule is that the newer the OS, the later it is in the install list .

Now you have a clean, partitioned and formatted hard-drive, it is time to begin installation of your OS’s . The first OS should be installed onto C:\ .

Installing MS-DOS (NB: If you don’t want DOS, but are installing Windows 3 . 1/95/98, you still need to do this step . )

You can now install MS-DOS . Insert the first MS-DOS set-up disk, and reboot the machine . Follow the instructions and install DOS onto C:\ . (You will be prompted for the other DOS set-up disks . At the end, remove the last disk and reboot the machine . You will boot into DOS, and see a C:\> prompt on the screen .

Instructions for other OS’s follow .

Installing Windows NT/ME/2000/XP

Insert the Windows set-up disk and reboot your machine . Follow the on-screen instructions .

During the installation process, you will be asked to select the partition to install to . Select the partition you are installing Windows to . You can also format the partition at this stage if you have not yet done so .

Once installation has finished, reboot, and you will boot into Windows graphical interface . From there you can set-up Windows as you wish, or reboot to DOS . You may want to spend some time installing drivers for Windows and getting everything working before you move onto the next OS .

Installing Windows 95/98/ME

Boot into NT if running NT, or DOS if not . If you do not want a separate DOS partition, that is fine, as Windows 98 is installed on top of DOS anyway . In fact, if you want to have DOS, and also want any of Windows 3 . 1/95/98/ME, then you do not need a separate partition as all these OS’s are built on DOS, and you can boot to DOS using a shutdown command, or boot disk .

Once in NT or DOS, navigate to the CD directory and run setup . exe (If in DOS, copy the entire contents of the CD to a new directory called C:\setup first, and run setup . exe from C:\setup) .

You can then follow the on screen instructions, and finally reboot . You can now install a video driver if necessary, and boot to Windows . From there you can set-up Windows as you wish, or reboot to DOS . You may want to spend some time installing drivers for Windows and getting everything working before you move onto the next OS .

Configuring Boot Options

Depending on which OS’s you have installed you will see a different boot loader interface on boot-up . If you only have older OS’s like DOS, or Windows 3 . 1/95/98/NT you may have to hold F8 or a similar button at start-up to get to the boot options, or you may need a boot floppy . If you have installed a newer OS like XP, the boot options menu appears automatically on start-up . Either way, the boot options are defined in boot . ini which can be found in C:\ or on your boot floppy . This file contains text which tells your PC what to do on start-up . Here is a copy of the boot . ini file for the example system used in this article:


timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOW SXP
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\DOS="Microsoft DOS 6 . 2"
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS98="Microsoft Windows 98"
multi(0)disk(0)rdisk(0)partition(3)\WINDOWSXP="Microsoft Windows XP Professional" /fastdetect

[b]DEFINITIONS:

timeout = the number of seconds the boot-menu is displayed before the default option is loaded .
default = the default OS which is loaded if no choices are made before the menu times out .
[operating systems] = This is a list of all the operating systems available on the boot-menu . The words in the speech marks “” are what is displayed in the boot-menu for each OS .

You can modify this file to set whichever options you wish .

In Windows XP, there is an easier way to alter the options .

Right-click My Computer, or press Windows+Pause/Break .

Click on the ‘Advanced’ tab in the system properties window . Click ‘Start-up and Recovery’ . A new window opens with controls for all the options listed above .

And there you have it! A perfect multi-boot system!

You should now use a product like PowerQuest’s Drive Image, or Norton’s Ghost to image your new installation so you can restore it easily if things ever go wrong . Imaging is covered in more depth in another FAQ .

I have a feeling I have missed one or two finer points regarding some of the OS's I am less familiar with eg 95/NT/3 . 1 . I also feel a couple of areas are a little "messy" . Comments and criticisms welcome . (I'm serious, I gave Joe a hard time on his, now's the time to do the same to me) . :D

G P
Graham Petrie (449)
57667 2002-06-27 04:34:00 I'm tempted to "Quote Original" but I shan't :D

This one is a definite useful for future reference :)
<copies and pastes>

Thanks Graham - v.useful

Callum
Callum Hey (283)
57668 2002-06-27 04:37:00 Ooops, forgot.

Links

PowerQuest (http://www.powerquest.com)
PC911 - HOW-TO Multiboot article (www.pcnineoneone.com) (Contains some more detailed instructions on OS installation, and how to add or remove OS's after you have alreday set-up a Multi-boot OS).
Other PC911 HOW-TO's (www.pcnineoneone.com)

G P
Graham Petrie (449)
57669 2002-06-27 04:52:00 Hey, that's nice, now I want a multi-boot system, but what about 98 and linux?? That'd be where I'd go!!!
Jo
Chilling_Silence (9)
57670 2002-06-27 05:11:00 I've built one of those too, and can give tips and point out pitfalls for newbies, but my knowledge isn't as good as other contributors, and I was knd of hoping one of them would take on the Linux/Windows dual-boot as a separate FAQ.

G P
Graham Petrie (449)
57671 2002-06-27 05:12:00 Wow! :O

Good work Graham, that is really comprehensive.
Tristan Speak (465)
57672 2002-06-27 05:25:00 Ooops! Typo! I had converted a table in Word to text for the post box, and I forgot to rename the partition labels. Thus, they are Partition 1, Partition 2, Partition 1, Partition 1 when they should be Partition 1, Partition 2, Partition 3, Partition 4.

G P
Graham Petrie (449)
57673 2002-06-27 05:54:00 Linux/MS.

I suppose I could be persuaded ... (mine [i] would [/b] start with "RTFM", but I've done a few, and I know what Ms to advise peoplel to R). ;-)
Graham L (2)
57674 2002-06-27 06:01:00 I didn't want to say your name Graham, but I was kind of hinting to you.
;)

G P
Graham Petrie (449)
57675 2002-06-27 08:29:00 Not bad . . however, pray tell how to create multiple primary partitions using MS FDISK . . . and after you have tried with MS FDISK .


Besides MS FDISK what other DOS based "freebies" are available to partition a hard disk?


Is it possible to create more than 4 primary partitions? And are there any special types of primary partitions?


Also, what are the advantages and disavantages of setting a primary partition active?


Are there any other alternative methods for installing multiple operating systems?


Are there any alternatives to modifying the boot . ini file to easily access operating systems installed on multiple primary partitions?


How can other operating systems be accessed if NT/2k/XP are not used?
Merlin (503)
1 2 3