You don't need Partition Magic for this; you can use Fdisk/Format or even Gdisk. Partition the hard disk into two volumes. Install Windows 2000 on the second volume. Then, install Windows XP on the first volume. This is a simplistic explanation. For more information, see the KB article Q217210.
This was first published in November 2002