Installing Windows XP after Windows Vista or Windows 7
One of the most common problems encountered in configuring a dual-boot between Windows XP and Windows Vista happens when you try to install Windows XP on a computer with Windows 7/Vista already installed. When you install Windows XP, it'll remove the Vista bootmgr/BCD bootloader and use its own instead.
If you follow these instructions, you should be able to add Windows XP to a system that already has a newer version of Windows installed – with minimal headache and no loss of data.
Prepping the Machine for an XP Installation
The first thing to do is to get your system ready for installing Windows XP. There are a couple of things you need to do:
- Download the free GParted Live CD or use a commercial partition editor, and boot into it.
- Use the partition manager to shrink the partition with Windows Vista/7 to make enough room at the end of the drive for Windows XP.
- Add a new partition located after the Windows Vista/7 partition you just shrunk. Make sure it has been formatted as NTFS. It doesn't need to be primary, and should not be active.
- Reboot into the Windows XP setup CD
It's very important to make sure that this partition was created at the end of the drive, or else you might no longer be able to boot into Windows because your partition numbers and offsets have changed.
Installing Windows XP
You cannot install Windows XP by running the installer from within a newer version of Windows, instead, you'll have to boot from the CD:
- Make sure your BIOS is configured to boot from the CD. Some computers also let you press F8 to pick where you want to boot from – you may use that option instead.
- Put your Windows XP CD in the drive and press a key when you see the "Press any key to enter Windows Setup..." message.
- If you're installing Windows XP to a SATA drive, make sure you hit F6 to load the SATA drives.
- When you're presented with a screen that has a list of hard drives and partitions, use the arrow keys to select the empty NTFS partition you created in the previous section, then press 'Enter' to continue.
- Let Windows XP setup finish. It will reboot several times - do not interrupt it.
Setting up the Dual-Boot
Once Windows XP setup has finished, it'll automatically boot you into the newly installed copy of Windows XP – note that you will not be able to boot into Vista/7 at this point, nor will you see a boot menu option for it. This is because Windows XP has installed its own bootloader on top of the Windows Vista bootloader, and it does not recognize newer versions of Windows.
- Once in Windows XP, download and install the Microsoft .NET 2.0 Framework SP1.
- Download and install the latest version of EasyBCD.
- Once in EasyBCD, go to the "Bootloader Setup" page, and select "Install the Windows Vista/7 bootloader to the MBR" then "Write MBR" to get the EasyBCD bootloader back.
- Once that's done, head on to the "Add New Entry" page and select "Windows NT/2k/XP/2003" from the drop-down list, give it a name, then press "Add Entry" to finish. Leave the checkbox for automatic configuration checked, and do not manually change the drive in EasyBCD thereafter. The settings EasyBCD chooses may look wrong, but it's complicated.
- Now reboot.
- If all has gone well (assuming you followed the directions here to a tee, there is no reason for it not to have), you should be presented with the EasyBCD boot menu when you restart your machine.
- You'll have the old Windows Vista/7 entry and the new Windows XP entry you created in the steps above. Selecting each should get you into the respecting operating system without a problem.
- Feel free to run EasyBCD in either OS and customize your dual-boot by renaming entries, changing the default OS, and modifying the menu timeout.
- Grab yourself a copy of iReboot from the "Useful Utilities" page – it's free and you'll love it.
Please see the the Troubleshooting XP Boot Issues page for answers to any issues you might have.