Sunday, April 24, 2011

dual booting XP and Windows 7


This mini guide is for installing Windows XP _after_ Windows 7 has been installed.
We sometimes want to dual boot between the new and old OS.

If you have a powerful enough machine you can use Windows XP Mode with virtual PC.

Note: works only with Win7 Pro and up. If you have Windows Home edition, save yourself time and bandwidth, XP mode won't work.

1. Install XP on the second partition. The system will then boot directly to XP. Make sure you have the ntldr file on the root directory. If it's not there copy it from the i386 folder of your XP installer disc.

2. Boot from the Win7 installer CD and run repair.
Choose Startup Repair
reboot
The system will then boot directly to Win7

3. Start -> Accessories -> (right click) Command Prompt. Choose run as administrator

c:\> bcdedit /create {ntldr} /d "Windows XP"

c:\> bcdedit /set {ntldr} device partition=D:

c:\> bcdedit /set {ntldr} path \ntldr

c:\> bcdedit /displayorder {ntldr} /addlast

4. Reboot. You should now see a menu to choose between Windows 7 and XP.


./rom