|
Here: Home > Dual-Boot > Dual-Boot Windows XP, 2K or NT with other Operating Systems >
Dual-Boot or Multi-Boot:
Dual-boot Windows 7 on a Windows XP computer (Windows XP installed first)
Last reviewed: June 2010
On this page:
Introduction
This guide shows how to create a native (natural) dual-boot of Windows XP and Windows 7 on a computer with Windows XP already installed on it. You can then run either of those two Windows by selecting one from a menu during bootup. No data loss will occur and a third-party boot utility will not be used.
The installation of Windows 7 on the Windows XP computer will automatically create the dual-boot for you. The partition boot sector that currently controls the bootup will continue to do so but will be changed to the Windows 7 variety (that can be changed back to XP's type if you ever wish to remove Windows 7).
In this procedure you need to shrink the Windows XP drive to make room for Windows 7 unless you install Windows 7 on a second hard disk. Using a second disk simplifies the procedure but that's not a requirement. The example shown here uses a single hard disk.
You also need to determine if your computer has the minimum system requirements to run Windows 7.
A previously installed Windows XP Home with SP2 was used in testing.The computers used were (1) a 32-bit Dell Optiplex with Pentium 4 (2.26GHz), 2.0 GB RAM, 160 GB ATA hard disk, and (2) AMD Athlon 64-bit (2.4GHz), 2.0 GB RAM, 1 TB SATA hard disk.
The basic procedure is relatively easy and is suitable for most computer users. However, the Windows XP fix required to deal with the Restore Pounts problem with Windows XP is more difficult to apply.
[top of page]
How to Create a Dual-Boot of Win7 & WinXP on a WinXP Computer
- Check at Microsoft's Windows 7 Compatibility Center
- Backup.
- Create sufficient Unallocated/Free space for Win7 at end of WinXP disk or on second disk
(you'll need a partitioning utility to resize the XP partition - the free GParted works fine).
Restart to Windows XP twice after resizing the XP partition.
- Bootup from Win7 installation DVD and select Install Now.
Select Custom Install.
Select Unallocated space.
Select Advanced, and then Format (if XP uses NTFS then also use NTFS for Win7).
Let the installation finish including the reboots.
The dual-boot has been created automatically by Windows 7.
- Restart computer to Windows XP.
Correct the Restore Points problem that occurs with Windows XP (read below)
That's it! The Windows 7 boot loader menu will boot Windows XP and Windows 7.
Use the free EasyBCD utility under Win7 to rename the boot menu item, "Earlier Version of Windows", to "Windows XP".
[top of page]
Fix Restore Points Problem in XP
Windows XP does not understand some of the disk management techniques used by Windows 7 and Vista. Every time XP is booted, it destroys Win7's and Vista's Restore Points and all except the most recent backup files from Complete PC Backup - read Microsoft's Knowledge Base article 926185. The problem does not affect Windows 2000.
A small addition to XP's registry avoids this problem by making the Windows 7/Vista partition inaccessible when, and only when, XP is running. You must, however, use extreme care to ensure you enter the correct drive letter in the following corrective procedure. You must never enter the drive letter used by XP - that would prevent XP from starting! This fix is applied when XP is booted and not from any other Windows.
- Download this tiny xp_rstr_fix.reg file, xp_rstr_fix.zip, and unzip it to XP's Desktop.
- Startup to Windows XP. It must be XP and not any other version of Windows.
- Note the drive letter allocated to the Win7 partition in Windows Explorer.
- Right-click xp_rstr_fix.reg on the Desktop and select Edit. Look at this line in xp_rstr_fix:
"\\DosDevices\\Z:"=dword:00000001
- Carefully change that Z to the drive letter allocated to the Win7 partition
(make sure you do not remove the \\ before the letter or the : after the letter).
- Save the file back to the Desktop as xp_rstr_fix2.reg
- Right-click xp_rstr_fix2.reg on the Desktop, click Merge, and click OK.
- Reboot to Win7, and create a new Restore Point (right-click Computer > Properties > System Protection).
- Delete the two .reg files on XP's Desktop when you're finished.
When XP is booted, you will be denied access to the Win7 partition and the partition will appear to be unformatted (RAW) even though the contents have not been changed. It will still be allocated a drive letter in XP. When you boot to Win7 you will have access to all your drives, including the Windows XP partition.
This is the full xp_rstr_fix.reg file: (the blank line is required)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\Offline]
"\\DosDevices\\Z:"=dword:00000001
[top of page]
Help! Remove Win7 and Repair XP Startup
If you wish to remove Win7 and return to a XP-controlled startup then follow these instructions.
- Boot up from your XP installation CD.
- Press R to enter the Recovery Console.
Enter the number that represents XP (probably 1 for C:\Windows).
Press Enter key for Administrator password (or type your password and then press Enter).
- Type in and then press Enter after each line
FIXMBR
FIXBOOT
EXIT
- Remove the CD.
Your computer will automatically boot to Windows XP without any boot menu if none existed previously.
You can now use your partitioning utility to delete the Win7 partition and then resize the XP partition to incorporate the free space left after deleting Win7, or you can simply Format the Win7 partition. However you must not do this if, for some strange reason, your Win7 partition comes before the XP partition.
[top of page]
Related Reading How do I ...
[top of page]
Please remember that you alone are responsible for the consequences of any changes you make to your computer hardware or software.
www.thpc.info was formally TweakHomePC at www.tweakhomepc.virtualave.net
Copyright © LarryM 1998-2010
thpc@mail.com
|