The recommended process to create a dual boot system, provided that the hardware is supported in both operating systems and drivers are available for both operating systems, is to install the oldest operating system first, then the newest. However, it is possible to create a dual boot environment by installing Windows XP after Windows 8, just more complicated. By installing Windows XP on a second partition, the boot files for the drive will be overwritten with the Windows XP boot loader which is incompatible with modern versions of Windows such as Windows 7 and Windows 8. In order for both operating systems to boot, the boot files of the newer operating system will need to be restored.
After installing Windows XP to its partition, insert your installation media for Windows 8 and reboot. Select your language settings and hit next, then select Repair your computer in the bottom left of the next page. Select Troubleshooting, then Advanced options, then Command Prompt. At the command prompt, you will need to enter the following to launch the boot repair process:
Code:
bootrec /fixboot
bootrec /rebuildbcd
The first operation will restore the Windows 8 compatible boot files, the second will search your disk for compatible operating systems and prompt you whether or not to include an entry for them in the Boot Configuration Database (BCD), which lists all of the operating systems to which the system can boot.
Details on the BootRec tool are available here from Microsoft Support. Alternatively these operations can be modified with third party tools like that mentioned by God vs Satan.
The rebuilt BCD will present you with the black and white text based boot menu which you may be familiar with from Windows 7. While fully functional, you may wish to restore the default Windows 8 graphical boot menu which includes support for the mouse. You can restore this functionality by
disabling Emergency Management Services with BCDEdit using the following command.
Code:
bcdedit /bootems {bootmgr} off