Install Windows XP in Dual Boot with Pre-Installed Windows 7
General 'Windows 7' Chat, Support, Tweaks, and Customizing. Download links & requests prohibited. Also known as 'Vienna' or 'Blackcomb.'

Moderators: Management, Forum Experts

Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby Grav!ty on Mon Jan 05, 2009 12:03 am

Install Windows XP in Dual Boot with Pre-Installed Windows 7

This is a preliminary guide based on pre-Beta and Beta builds of Windows 7. It is expected that the features of Windows 7 used and taken into account in this guide will carry forward to the final RTM release. How the various OEM system builders like Dell, HP and others deal with these features is as yet an unknown. As more information or changes to the behavior of Windows 7 becomes available, this guide will be updated.

USER BEWARE: CHECK WITH YOUR SYSTEM MANUFACTURER WHETHER OR NOT YOUR WARRANTY IS VOIDED IF YOU INSTALL AND DUAL BOOT WITH ANOTHER OPERATING SYSTEM. MANY NEW SYSTEMS ARE DESIGNED AND CONFIGURED TO ONLY RUN WINDOWS VISTA. HARDWARE ON YOUR SYSTEM MAY NOT BE DESIGNED TO RUN WINDOWS XP.

Another very important consideration is the availability of Windows XP device drivers. Check that Windows XP drivers for your system are available from the manufacturer of your system or from the motherboard manufacturer BEFORE attempting to install Windows XP. In particular, if you are using an SATA drive, make sure that you have Windows XP SATA Controller drivers available as they may be necessary for Windows XP setup to be able to "see" the partition on which you intend to install it. This is an important step especially with new Laptop and Notebook systems as well as OEM Desktop systems from manufacturers like Dell, HP and Gateway.


Prepare your system

Windows 7 creates a small "hidden" System partition on which it places the boot system files, bootmgr and the folder Boot. Windows XP needs to have access to that partition so that it too can place it's boot system files there. They are ntldr, boot.ini and NTDETECT.COM.


1. Assign a Drive Letter to the System Partition

Go to Disk Management in Windows 7 by right clicking Computer and select Manage and then Disk Management. Right click the drive tagged (System). It won't have a drive letter allocated, so that's the first thing you need to do so that it's visible to Windows XP setup . Allocate a drive letter by selecting "Change Drive Letter and Paths..." and then click Add and assign the first drive letter offered in the dialogue box that opens.

No Drive Letter Allocated...Add a Drive Letter...........Assign Drive Letter
Image... Image.. Image


2. Create a Partition on which to install Windows XP

Unless you have a second hard drive on which to install Windows XP, you will need to create a partition on which to install it. You can achieve this by "shrinking" the Windows 7 partition. This will leave you with "unallocated" space on your hard drive and it's recommended that you do not actually create a partition or format it from within Windows 7 as Windows XP uses an earlier version of the file system NTFS.

Still in Disk Management, right click the large Windows 7 installation partition and select "Shrink Volume". After disk management has finished querying the available shrink space, a dialogue box will open where you need to insert the amount of space you want to shrink the partition by. Click on Shrink when you've decided how much space you want available for Windows XP.

Care and some judgment needs to be exercised here as selecting the offered default WILL result in inadequate space being left available for the use of Windows 7.

You will now be left with unallocated space at the end of your drive. As previously mentioned, it's recommended that you do not create a partition or format it from Windows 7. That is best done using Windows XP setup so that the fully compatible Windows XP NTFS file system is applied to the partition.


Shrink Windows 7 Volume..Insert Space Required for XP.. Unallocated Space
Image....Image.........Image


You have now completed preparation for the installation of Windows XP.


Install Windows XP

Insert your Windows XP setup disc, restart your system and boot to your XP CD to install Windows XP. When you get to the setup screen where the drives/partitions are listed, select the unpartitioned space you created in Windows 7 and create a partition by pressing C on the keyboard. Once the partition is created, press Enter to install XP on that partition and then format the partition. A quick format is fine. Here are some screenshots to guide you if you are unfamiliar with the process:


Select Unpartitioned Space....Set Up XP on Selected Partition..Format the XP Partition
Image.......Image............Image


Create a Dual Boot Menu using VistaBootPRO

Once you have completed the installation of Windows XP you will have temporarily lost your ability to boot into Windows 7. You will now need to restore a dual boot to both Windows 7 and Windows XP.

It is recommended that you install all device drivers in Windows XP or at the very least, the Chipset drivers for your motherboard. After that is done, download and install VistaBootPRO and be sure to follow the prompts to install the applications Prerequisites, .Net Framework 2.00 or higher, as VistaBootPRO will not run without it.

Open VistaBootPRO, ignore the prompt to backup your BCD. Go to the System Bootloader tab, select "Windows Vista Bootloader" in the first section and "All Drives" in the second section and then click Install Bootloader . Next, go to the Diagnostics item on the menu bar and select "Run Diagnostics". VistaBootPRO will default back to the Manage OS Entries page and you will see that you now have entries there for "Windows 7" as well as "Earlier version of Windows". Change the name of the Windows XP entry using VistaBootPRO if you wish. Restart your system and select the operating system you would like to boot to.


Install the Vista Bootloader....The Windows 7 Dual Boot Menu
Image...........Image


Alternative Method to Create a Dual Boot Menu

After installing Windows XP you will have temporarily have lost the ability to boot to Windows 7. Here's an alternative method to restore your dual boot.

1. From Windows XP, open My Computer and go to Tools>Folder Options>View. Check the check box for "Show hidden files and folders", and un-check "Hide protected operating system files (Recommended)".

2. From My Computer, open the System partition. It should be drive C:\

3. Select and copy the Windows XP boot system files ntldr, boot.ini and NTDETECT.COM

4. Open the XP installation partition and paste those three files to the root of the partition.

5. Install and open VistaBootPRO and go to the Manage OS Entries page. Check Add New OS Entry, give your Windows XP entry a name such as Windows XP, select Windows Legacy from the drop down menu and allocate the drive letter as seen from My Computer. Click on Apply Updates

6. Now go to the System Bootloader page of VistaBootPRO and select to install the Windows Vista Bootloader>All Drives>Install Bootloader. If you cannot see the Install Bootloader button, close VistaBootPRO, change your screen resolution to 1024 X 768 or better and then proceed with these directions.

7. Reboot and test each of the boot menu items to make sure they are good.


Change Folder Options...Copy XP Boot Files..........Paste to XP Partition
Image.......Image..Image


Add a Legacy Entry.....Legacy Entry Added.....Install Vista Bootloader
Image..Image...Image
User avatar
Grav!ty
Senior VP - Operations
 
Posts: 18277
Joined: Tue Sep 14, 2004 12:22 am
Location: Johannesburg

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby JabbaPapa on Mon Jan 05, 2009 4:34 am

Graham, are any of the Windows 7 boot files created in C: or are they all put into the hidden system partition ?

I hope that MS are not planning on having W7 RTM behave like this, as it will cause innumerable headaches in most multiboot scenarios (except Vista/2k8/W7 ones I suppose).

What one would want, in your own case, is for XP setup to create its own boot data in the system partition --- but it is unable to do so, as this is basically a hidden partition.

I *think*.

In any case, it's clearly a recipe for multiboot creation failure where Windows 7 is the first OS installed, and where the behaviour isn't already carefully accounted for (by an expert) during preparations for other Windows installation.

Which would bring us back to the usual recommendation -- "install the earlier version of Windows first, dummy !" :P -- (not much good advice for anyone with a factory-installed W7 Dell though, hahaha ... :pc )

It is quite possible that in some configurations, installing Vista *after* W7 would generate some of the typical multiboot errors and failure -- also, cases where the boot files of your computer were split into three separate locations (including one hidden one) could in future be not rare, but fairly commonplace in my opinion :(

Fun and games to be imagined in future factory built rigs, having a hidden system restore partition and the hidden W7 sytem partition, where someone might then install Vista and then XP (and in that order : W7 > Vista > XP)

:bashhead :silly: :silly: :silly: :question
ImageImage
.................................................................................................PRO Kahuna Super Geek
Forum Expert : Windows XP/2k/2k3, Windows Vista and Seven Support
User avatar
JabbaPapa
Support Team
 
Posts: 10636
Joined: Sun Feb 22, 2004 12:17 pm
Location: Monte-Carlo
Real Name: Julian Lord

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby Grav!ty on Mon Jan 05, 2009 9:44 am

Moved from top of the thread.

====

Install Windows XP in Dual Boot with Pre-Installed Windows 7

This is preliminary testing work and I'm using Windows 7 Build 6519 and Build 6801 to base these results on. Both these pre-Beta builds create a small separate System partition on which to house the boot system files, bootmgr and the folder Boot. This behavior has only been noted when Windows 7 is the only operating system installed. See the screenshots below. I have not yet been able to verify that Windows 7 Build 7000 behaves in the same way.


Warning that System Partition may be created
Image


System Partition Created
Image


System Partition in Disk Management (no driver letter allocated)
Image


Windows Explorer (System Partition does not appear because no drive letter allocated)
Image


Windows Explorer Installation Drive (No boot system files)
Image


Without allocating a drive letter to the System partition in Windows 7, I used Disk Management to shrink the drive it was on and created a partition of 34 GB on which to install Windows XP Professional.

Windows XP Professional setup saw the small System partition and the first hint that all was not well was that it allocated a drive letter (C:\) to the System partition and changed the drive letter Windows 7 was installed on to D:\

Image


After XP setup completed the file copy process and rebooted, I got this error message:

Image


I then booted to the Windows 7 DVD and selected Repair my computer at the Install now setup screen. Startup Repair had no effect at all and I again got the same "error loading operating system" message on reboot. I rebooted to the Windows 7 DVD and this time selected System Restore from the menu. That was unsuccessful too and on reboot I again got the "error loading operating system" message.

Image


At this point I suspect the problem is caused by NOT allocating a drive letter to the System partition that Windows 7 creates, BEFORE running XP setup. I'll confirm that shortly and then continue with this thread.

====
Yeah Julian, so far it's a total nightmare trying to get Windows XP installed on the same drive on a system with only Windows 7 installed on it. I haven't even gotten around to trying to install Vista after Windows 7 yet.

I'm beginning to get an idea of the problem though - see the drive in question when I plug it in to my XP system. Note the odd little 1 MB partition at both the front and back of the drive. Windows XP setup also sees them. These two little critters are not visible from Windows 7. Partition Magic 8 identifies that there's a problem and attempts to fix the sectors at both the front and back of the drive but with no effect.


Weird little 1 MB unallocated space at front and back of Win 7 drive
Image

Partition Magic picks up that something is NOT kosher
Image

Anyway, back to the drawing board for me. I've got a trick or three up my sleeve yet :harley:
Image
User avatar
Grav!ty
Senior VP - Operations
 
Posts: 18277
Joined: Tue Sep 14, 2004 12:22 am
Location: Johannesburg

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby JabbaPapa on Mon Jan 05, 2009 12:54 pm

ouch even worse than I imagined !! :shocked:
ImageImage
.................................................................................................PRO Kahuna Super Geek
Forum Expert : Windows XP/2k/2k3, Windows Vista and Seven Support
User avatar
JabbaPapa
Support Team
 
Posts: 10636
Joined: Sun Feb 22, 2004 12:17 pm
Location: Monte-Carlo
Real Name: Julian Lord

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby Grav!ty on Mon Jan 05, 2009 1:30 pm

After another 2 attempts I gave up trying to install XP on the same drive as Windows 7 (where Windows 7 is pre-installed to a system). I attached another hard drive and installed Windows XP on that without any issues at all. Getting a dual boot going was a slightly different kettle of fish though.

I used VistaBootPRO in Windows XP and ran Diagnostics from the menu item, then reinstalled the Vista bootloader>All Drives and rebooted. That gave me a menu item for Windows 7 on reboot and I then installed VistaBootPRO on Windows 7, created a Legacy OS entry with the drive letter as seen from Windows 7, took ownership of the boot.ini file to open it, edited to conform with what Disk Management showed in Windows 7, copied boot.ini, ntldr and NTDETECT.COM to the Windows XP drive and got my dual boot sorted out. The BCD of Windows 7 seems to read things a bit differently but I'll get to more on that a bit later.

So for now my conclusions are (and this could change):

Windows XP or any legacy OS I guess, cannot be installed to the same drive albeit to a separate partition on a drive with Windows 7 pre-installed on it.

The alternative is to add a hard drive on which to install a legacy OS like Windows XP.
Image
User avatar
Grav!ty
Senior VP - Operations
 
Posts: 18277
Joined: Tue Sep 14, 2004 12:22 am
Location: Johannesburg

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby kd1966 on Mon Jan 05, 2009 2:00 pm

Wow......... that will cut out quite a bit of future crowds wanting to do just that - install XP on a pre-existing Win7 machine......... and since most retail machines come with a single hdd.................... :eek: I can just see the crashes and cries for help (Before the cries for MS's head on a platter....lol)
User avatar
kd1966
PRO MASTER
PRO MASTER
 
Posts: 8081
Joined: Mon Aug 08, 2005 9:00 pm
Location: USA - GSO - NC

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby kanaloa on Mon Jan 05, 2009 3:05 pm

Guess MS found a way to kill XP after all.

So do Vista and Win 7 use the same boot manager? I am interesting installing Windows 7 in a few weeks, but want to make sure I can easily revert back to Vista when I'm done testing (and preferably delete Win 7).
"With realization of one's own potential and self-confidence in one's ability, one can build a better world." -Dalai Lama
Image

Follow me on Twitter: http://twitter.com/JCDerrick
User avatar
kanaloa
President
 
Posts: 24878
Joined: Sat Mar 09, 2002 8:18 pm
Location: Columbia, SC
Real Name: John Derrick

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby yeshuas on Mon Jan 05, 2009 4:45 pm

Following this guide http://www.pronetworks.org/index.php/gu ... ows_vista/

I installed XP to the same harddrive as Windows 7, after having Windows 7 installed, XP installed, and the same thing happened that happens when installing XP after Vista.

I then used VPB and all the same steps as if it were Vista with XP etc. After reinstalling bootloader, and running diagnostics XP was not included in the OS choices, only Windows 7 and Windows Recovery Environment.

I rebooted to see what choices I had and the only ones shown were Windows 7, and a Ramdisk options, which ended up being a recovery environment.
Last edited by yeshuas on Mon Jan 05, 2009 7:28 pm, edited 3 times in total.
Game Over!!!!!!!!
Image
P5Q Deluxe MB
Vista Ultimate 64 Bit; Vista Ultimate X86; Windows 7 X86; Windows 7 X64
Q6600 Core 2 Quad w/CNPS9500-LED cooler
4GB Corsair XMS2-PC6400C5 DHX w/heat spreaders
eVGA GeForce GTX 260 216 processing cores 896MB GDDR3
Thermaltake 750W ToughPower modular cabled PS
2-750Harddrive Raid 0
Lian-Li V1000B Plus Case
User avatar
yeshuas
Support Team
 
Posts: 4420
Joined: Wed Jan 17, 2007 10:29 am
Location: Chicago, IL
Real Name: Daniel Schmidt

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby yeshuas on Mon Jan 05, 2009 6:19 pm

Continued from above;

I used Windows 7 to shrink the drive that had XP on it and then booted to a Vista install disk and it installed like normal with it adding itself to the bootloader Windows 7 had created.

I then used VBP 3.3 from within Vista, to create a new legacy entry for XP and copied boot.ini, NTDETECT and ntldr to the XP partition I had originally installed XP to from the 200 MB partition that Window 7 had created during it's install, as this is where XP had put them during its install. (I am pretty sure I could have done this step from XP before installing Vista)

I now have a triple boot bootloader that I can boot to either XP, Vista or Windows 7
Last edited by yeshuas on Mon Jan 05, 2009 7:32 pm, edited 1 time in total.
Game Over!!!!!!!!
Image
P5Q Deluxe MB
Vista Ultimate 64 Bit; Vista Ultimate X86; Windows 7 X86; Windows 7 X64
Q6600 Core 2 Quad w/CNPS9500-LED cooler
4GB Corsair XMS2-PC6400C5 DHX w/heat spreaders
eVGA GeForce GTX 260 216 processing cores 896MB GDDR3
Thermaltake 750W ToughPower modular cabled PS
2-750Harddrive Raid 0
Lian-Li V1000B Plus Case
User avatar
yeshuas
Support Team
 
Posts: 4420
Joined: Wed Jan 17, 2007 10:29 am
Location: Chicago, IL
Real Name: Daniel Schmidt

Re: Install Windows XP in Dual Boot with Pre-Installed Windows 7

Postby kd1966 on Mon Jan 05, 2009 7:31 pm

I see........... ^*^ a bit complicated for the normal user, but what else in new...?? :lol:
User avatar
kd1966
PRO MASTER
PRO MASTER
 
Posts: 8081
Joined: Mon Aug 08, 2005 9:00 pm
Location: USA - GSO - NC

Next

Return to Windows 7

Who is online

Users browsing this forum: No registered users and 0 guests