|  |  Synopsis : 
This document explains how to install multiple operating systems 
on the same hard disk drive using DOS and Windows tools only.
The following operating systems will be installed:
 
	 MS-DOS Version 6.22  Windows 95  Windows 98  Windows ME  Windows NT Workstation 4.0  Windows 2000 Professional  Windows XP Professional  
  Disclaimer : 
In no event unless required by applicable law or agreed to in writing will
the copyright holder or any other party who has contributed to this text
be liable to you for damages out of the use or inability to use 
the instructions contained in this text.
This includes but is not limited to:
 
even if the copyright holder or other party has been advised 
of the possibility of such damages. the loss of data  data being rendered inaccurate ( corruption )  losses sustained by you or third parties  a failure of the text instructions to produce the desired outcome  
  Rules : 
Before starting, the following very important rules must be observed:
 
	If for any reason - technical or functional - your Master Boot Record 
	(MBR) becomes corrupted or is rendered inoperational, neither the 
	re-installation of DOS nor the re-installation of Windows NT 
	nor the full reformat of the whole hard disk is going to restore or 
	repair the MBR.So, you can either:
 
		Boot the system from a floppy MS-DOS bootable diskette:A:\>sys c:   ;   A:\>fdisk /mbr
Re-install Windows 95 or 98 or ME on the C: drive 
	The sign of a healthy MBR - even when it doesn't have any OS's boot 
	sector written to it - is the following 2-line message on the screen 
	when you try to boot up your system:
 
	Invalid disk
	Replace the disk and then press any key
	
	The sign of a damaged MBR - even when it has many OS's boot sectors 
	written to it - is a BLANK screen every time you try to boot up your 
	system.
	MS-DOS and Windows 95 can functionally co-exist and 
	live very well on the same primary active partition. 
 
	Windows 98 or Windows ME will totally overwrite any previously 
	installed version of DOS or Windows 95.  
	They overwrite each other, too. 
	
	Windows NT, 2000 and XP will neither overwrite each other 
	nor overwrite any other operating system previously installed. 
	On a single hard disk, you can create the following partitions:
	
		4 primary partitions3 primary partitions and 1 (or none) extended partition2 primary partitions and 1 (or none) extended partition1 primary partition and 1 (or none) extended partition
	On the extended partition, you can create as many logical drives as 
	you have drive letters left (up to Z) depending on the last drive 
	letter assigned to your primary partition(s).
	The FDISK command-line utility provided with all Microsoft operating 
	systems - so far, Windows XP is the latest of Bill Gates at the writing 
	of this document - DOES NOT allow you to create more than ONE primary 
	partition.  For this purpose, you need to use a third party utility 
	such as PartitionMagic or PDISK (PDISK is downloadable).
	Among the primary partitions that you have, ONE and ONLY ONE of 
	them can be set as active partition. 
	In case you have two hard disks, NONE of your primary partitions on 
	your second hard disk (either you connected it as Secondary Master or 
	Secondary Slave) can be set as active partition.  Only on the first 
	hard disk (either you configured it as Primary Master or Primary Slave) 
	you can set one primary partition as active.
	In this procedure, - and as mentioned in rule 5 above - we will be 
	installing DOS and Windows 95 on one primary partition, Windows 98 on 
	another primary partition, and Windows ME on a third primary partition.  	
	We won't - though we can - create a fourth primary partition because we 
	need instead one extended partition that will be divided up into three 
	logical drives for the installations of Windows NT, 2000 and XP each 
	separately. 
 
	Note the naming convention of the partitions:
 
		C is always and forever the drive letter for the 
		"Active" primary partition.D will be the first logical drive letter, 
		E will be the second, and so forth.The second primary partition's drive letter will the one 
		following the last logical drive letter.For example, in our case, the drive letters will be:
	
	| Drive Letter | Partition Type | Operation System | Volume Name |  
	| C: | Active Primary | DOS 6.22 & Win 95 | Windows_95 |  
	| D: | Logical | Win NT | Windows_NT |  
	| E: | Logical | Win 2000 | Windows_2K |  
	| F: | Logical | Win XP | Windows_XP |  
	| G: | Primary | Win 98 | Windows_98 |  
	| H: | Primary | Win ME | Windows_ME |  
 
	Further to rule 12 above, for the sake of installing and running either 
	Windows 98 or Windows ME, we will have to set and reset the active 
	partition alternatively.  The system automatically does the name 
	swapping for you.  For example, when you set the G: drive to active, 
	it will become C; and consequently the C: drive will become G.  
	The only way to differentiate or distinguish between them is either 
	by their volume name or size.  Anyway, you shouldn't worry about this 
	internal system logic, it's a bit complicated; just follow the 
	procedures' steps carefully.  
	Have a DOS bootable floppy disk with CD-ROM support, 
	to which we will refer as BootDiskCD.  
	The creation of such diskette is outside the scope of this document. 
	A word of advice: if you are NOT an experienced administrator, 
	then put this document aside and step away for the computer, 
	otherwise you are putting your computer and data at risk! ... Honestly!
 
 
Multiple Microsoft Operating Systemson small hard disks drives (<= 8GB)
 [successfully implemented and tested on a 6 GB drive]
  Procedure :
 
 Using an appropriate partition utility make 3 primary partitions 
	sized as 100MB, 300MB, and 600MB consecutively, and 3 logical 
	partitions sized as 1GB, 2GB, and 2GB consecutively. After you are done partitioning, restart the computer. Reformat every partition you created. Insert the Windows NT Workstation Setup CD-ROM 
	and restart the computer.  Install Windows NT on drive D:  Install DOS though the system will recommend you to exit the setup 
	but instead choose to replace the current version of OS as it will 
	prompt you.  Here you don't have a choice to pick a certain drive for 
	the installation.  DOS goes right away by default to the active primary 
	partition, which in this case is drive C:  After the installation is complete and the system is rebooted, 
	insert the Windows NT Workstation Setup CD-ROM, 
	and restart the computer.  Note the following steps:
 
	 When prompted, choose R to repair Windows NT.  Select ONLY the "Inspect Boot Sector" option. After the repair is complete, the system will reboot. 
	At the C:\> prompt, you will find a newly created file called: 
	"BOOTSECT.DOS".  Rename it to: "BOOTSECT.622" Insert the BootDiskCD and restart the computer.  Install Windows 95 on drive C:.  Note the system will default to 
	C:\Windows, you don't have to change this for the time being, 
	but later you will.  You can create a startup diskette when prompted, 
	but it will be of no use for the explanation in this document. After the installation is complete and the system is rebooted, 
	insert the Windows NT Workstation Setup CD-ROM, 
	and restart the computer.  Note the following steps:
 
	 When prompted, choose R to repair Windows NT.  Select ONLY the "Inspect Boot Sector" option. After the repair is complete, the system will reboot. 
	At the C:\> prompt, you will find a newly created file called: 
	"BOOTSECT.DOS".  Rename it to: "BOOTSECT.W95"
	REMARK: Note that both Windows 98 and Windows ME are NT-aware, 
	but neither MS-DOS nor Windows 95 is; Therefore we had to repair the 
	boot sector every time they are installed. At the C:\> prompt, make the BOOT.INI file editable 
	using this command:
 
	C:\>attrib -s -h -r boot.ini 
	 Append the following 2 lines to the end of the BOOT.INI file: C:\BOOTSECT.622="MS-DOS Version 6.22"   /win95dos
 C:\BOOTSECT.W95="Microsoft Windows 95" /win95
 Save the BOOT.INI file and reset its original attributes 
	using this command:
 
	C:\> attrib +s +h +r boot.ini
	 Restart the computer with NO floppies.
	Now you should see this startup menu:Windows NT Workstation Version 4.00
 Windows NT Workstation Version 4.00 [VGA mode]
 MS-DOS Version 6.22
 Microsoft Windows 95
 
 Using FDISK at the DOS prompt, set the second primary partition 
	(drive G:) to active. It will automatically become drive C: 
	as explained earlier in rule #14.  Restart the computer with NO floppies. Since your G: drive was previously formatted, and still blank; 
	you will get the following error message as long as drive G: is not 
	bootable yet and has no operating system on it:
 
	Non-system disk or disk error
	Replace and press any key when ready
	 Insert the BootDiskCD, and press any key.  Install Windows 98 on drive C: (currently named as such).
	Note the system will default to G:\Windows, you have to change that to 
	C:\Windows.  You can create a startup diskette when prompted, but it 
	will be of no use for the explanation in this document.  Proceed with 
	the installation events till it is complete and the system is properly 
	configured and rebooted in Windows 98. Using FDISK at the DOS prompt, set the third primary partition (drive H:) 
	to active. It will automatically become drive C: as explained earlier 
	in rule #14. Restart the computer with NO floppies.  Since your H: drive was previously formatted, and still blank; you will 
	get the following error message as long as drive H: is not bootable yet 
	and has no operating system on it:
 
	Non-system disk or disk error
	Replace and press any key when ready
	 Insert the BootDiskCD, and press any key.  Install Windows ME on drive C: (currently named as such). 
	Note the system will default to G:\Windows, you have to change that to 
	C:\Windows.  You can create a startup diskette when prompted, but it 
	will be of no use for the explanation in this document.  Proceed with 
	the installation events till it is complete and the system is properly 
	configured and rebooted in Windows ME.  These last 2 installations of both Windows 98 and Windows ME won't appear 
	in the startup menu shown in step #16 because they belong to different 
	partitions each.  Now here is how your system finally works:
 
	 When you want to boot your system in MS-DOS, Windows 95, or 
		Windows NT, set the first primary partition as active then 
		restart the computer with NO floppies. When you want to boot your system in Windows 98, 
		set the second primary partition as active then 
		restart the computer with NO floppies.  When you want to boot your system in Windows ME, 
		set the third primary partition as active then 
		restart the computer with NO floppies. Insert the Windows 2000 Professional Setup CD-ROM and 
	restart the computer.  Install Windows 2000 Professional on drive E:  Insert the Windows XP Professional Setup CD-ROM and 
	restart the computer.  Install Windows XP Professional on drive F:   Hints: 
MBR Restore & Backup
If you want to have the ability to backup and restore the MBR 
of your Linux installation, then do this: 
 To backup your MBR while running Linux,
	insert a new floppy disk and enter the following command:
 
	dd if=/dev/hda of=/dev/fd0 bs=512 count=1 
	This will backup your current MBR. To restore the MBR, boot using something like Tom's Emergency boot disk,
	insert your backup copy of the MBR floppy disk 
	and enter the following command:
 
	dd if=/dev/fd0  of=/dev/hda bs=512 count=1 
	This will restore your saved MBR to the hard disk. 
 
Multiple Microsoft Operating Systemson large hard disk drives (> 8GB)
 [successfully tested and implemented on a 19 GB drive]
  Procedure :
 
 Boot the system with a Windows98 startup disk.  Using FDISK, delete all partitions.  Reboot the system with a Windows98 startup disk.  Using FDISK, create exactly one primary partition of 1028MB (= 1GB). Reboot the system with a DOS (6.xx) startup disk 
	(to allow FAT system support).  Format C:  Install DOS  After the installation is complete and the computer is properly 
	restarted, configure your MS-DOS startup files for CD-ROM support and 
	SMARTDRV (to speed the copy process) and that's by editing "Config.sys" 
	and "Autoexec.bat" as follows:
Reboot the system from the hard disk.Download the latest ATAPI.EXE file from Microsoft's FTP server:
	
ftp://ftp.microsoft.com/bussys/winnt/winnt-unsup-ed/fixes/nt40/atapi/atapi.exe
	Copy that file to a blank floppy disk.  Run ATAPI on the 
	floppy disk itself and the ATAPI.SYS file will be extracted to the 
	floppy disk.  Label it "Microsoft ATAPI Service Pack 4 IDE Driver". Insert the Windows NT CD-ROM and run WINNT from the DOS prompt. After the 3 floppy diskettes are created by the Windows NT installation,
	and when asked if you would like setup to detect your mass storage 
	devices; press "S" so that detection is skipped.  When setup list devices found, which should list < none >, 
	press "S" again, then press ENTER. When prompted to insert the "Manufacturer-supplied hardware support" 
	disk, insert the "Microsoft ATAPI Service Pack 4 IDE Driver" disk 
	instead and press ENTER. After setup reads the disk and lists the Microsoft ATAPI Service Pack 4 
	IDE driver, press ENTER to accept the driver. Setup now lists Microsoft ATAPI Service Pack 4 IDE Driver as 
	an installed driver. If you have additional drivers for other 
	mass storage devices, press "S"; otherwise press ENTER to continue 
	through setup.  Setup should continue through normally, but it prompts you to re-insert 
	the disk labeled "Microsoft ATAPI Service Pack 4 IDE Driver" 
	at the copy phase after you have chosen or formatted a partition 
	for the Windows NT installation.  After the installation is complete and the computer is properly 
	restarted, carry out the following DOS commands from the DOS prompt:
 
	C:\> ren c:\bootsect.dos c:\bootsect.622
	C:\> attrib -s -h -r boot.ini
	C:\> edit boot.ini
	 Reboot the system from the hard disk in Windows NT 
	( as it comes in the startup menu ). From a CD-ROM and ONLY from a CD-ROM, install Service Pack 5 or later 
	for Windows NT for the following 2 critical reasons: 
	
	 It is required for the installation of Internet Explorer 5 
		or later because Windows NT installation comes with 
		Internet Explorer 2; which is good for nothing at all. It is recommended by the installation of Windows XP later on, 
		which will detect the current Service Pack version installed 
		for Windows NT. Insert the Windows 95 CD-ROM and run SETUP from the DOS prompt. Install Windows 95.  After the installation is complete and the computer is properly 
	restarted, insert the Windows NT Workstation 4.0 CD-ROM 
	and reboot the system with no floppies. Repair Windows NT (by pressing R when prompted). After the repair is complete and the computer is properly restarted, 
	carry out the following DOS commands from the DOS prompt:
 
	C:\> ren c:\bootsect.dos c:\bootsect.w95
	C:\> attrib -s -h -r boot.ini
	C:\> edit boot.ini
		Reboot the system with no floppies. 
	You should see the following menu:
 
Microsoft Windows NT Workstation 4.0
Microsoft Windows NT Workstation 4.0 [VGA mode]
MS-DOS Version 6.22
Microsoft Windows 95
		Reboot the system with a Windows98 startup disk to allow 
	large disk support (FAT32 only).Using FDISK, create one logical partition of 2055MB (=2GB) exactly.Note: Creating any other partitions that are NOT FAT16-supported 
	will crash Windows NT even after being successfully installed.
	Reboot the system with a Windows98 startup disk.	Format D:	Restart the computer in Windows 95 or Windows NT	Insert the Windows 2000 CD-ROM.	Install Windows 2000 as "Clean Install" and choose partition D for the 
	installation if not already chosen automatically by the system.	After the installation is complete and the computer is properly 
	restarted, insert the Windows XP Professional CD-ROM.	Install Windows XP Professional as "New Installation". 
	Windows XP Professional will let you create a partition for itself 
	in the unpartitioned (unallocated) space that you have leftover 
	on your hard disk. At this point, you can create as many other 
	partitions as you want and choose one of them for the 
	Windows XP installation.	After the installation is complete and the computer is properly 
	restarted, reboot the system with the PartitionMagic boot disk.	On the free disk space, create 2 primary partitions of 400MB and 600MB 
	for the installation of Windows 98 and Windows ME respectively. 
	Note that the newly created primary partitions are "Hidden" by default.
	Leave them that way.  Format them and set one of them to "Active"; 
	this will automatically hide the original primary partition, 
	and the active partition becomes C: drive.	Reboot the system with a Windows98 startup disk 
	that has CD-ROM support	Insert the Windows 98 CD-ROM and run SETUP from the DOS prompt.	Install Windows 98. The installation defaults to "C:\WINDOWS".	After the installation is complete and the computer is properly 
	restarted, reboot the system with the PartitionMagic boot disk.	Set the third primary partition to "Active". 
	(Now the second one will become hidden).	Reboot the system with a Windows98 startup disk 
	that has CD-ROM support	Insert the Windows ME CD-ROM and run SETUP from the DOS prompt.	After the installation is complete and the computer is properly 
	restarted, reboot the system with the PartitionMagic boot disk.	Unhide all primary partitions to make them accessible from DOS 
	by using the FDISK command.Set whichever primary partition you like to "Active", 
	or you can use a third party boot manager to let you to decide which 
	partition you want to make bootable every time you start your system. 
	Examples of such utilities: [OSL2000, ZBOOT, SYSTEM COMMANDER or XOSL].
 
 
Configuring Windows/Office 2000 and XPfor Arabic support.
  Procedure :
 
Select Start >> Control Panel >>  Regional OptionsIn the General tab, mark the Arabic checkbox, and then click Apply. 
	(This step requires the Windows CD-ROM).After the system is rebooted, re-select Start >> Control Panel 
	>> Regional OptionsIn the General tab, change Your Locale (location) to Arabic (Egypt) 
	from the dropdown list.In the Input Locales tab, remove one of the two Arabic keyboard layouts 
	(keep 102).Select Start >> Programs >> Microsoft Office Tools >> 
	Microsoft Office Language settings.  
	(This step requires the Office CD-ROM).Choose Arabic from the list (either dropdown or checkbox).Select Start >> Microsoft Word >> Tools >> OptionsIn the Right-to-left tab, in the Numeral field, 
	specify "Context" from the dropdown list. 
 
Hardware Detection in Windows NT
  Hints :
 
 Since Windows NT does NOT have an "Add/Remove Hardware" icon, 
	it won't allow you to configure your hardware devices manually 
	unlike all other Windows versions.  The only solution to this issue is 
	to activate the PnP functions in Windows NT.
 How to activate the PnP functions in Windows NT?The Windows NT system PnP functions will start to activate, 
	and the system will ask you to restart the computer.
	After rebooting the system, Windows NT will prompt you to provide or 
	browse the location for the appropriate driver files for each piece of 
	hardware detected. 
	If after all, Windows NT still does not detect the hardware, 
	then the ONLY and LAST solution to this situation is:
	
	 Access your BIOS setup.   Carefully look for feature "PCI and PNP setup" or 
	anything similar about Plug and Play. Under that feature there should be an item: 
	"Plug and Play aware O/S" Set this item to "NO" to enable the BIOS PnP functions. Save this new setting and exit the BIOS setup.
	After rebooting the system, Windows NT will prompt you to provide or 
	browse the location for the appropriate driver files for each piece of 
	hardware detected.
 If after all, Windows NT still does not detect the hardware, 
	I am very SORRY!  That's all I have!
	On a dual-boot or a multi-boot system, you don't have to make this BIOS 
	change for the other Windows versions because all of them are 
	hardware-aware. They all possess the "Add/Remove Hardware" icon in the 
	Control Panel, as well. So, if the hardware configuration is not 
	plug-and-play-triggered, you can trigger it manually through that 
	"Add/Remove Hardware" icon.
 
 |  |