How to install BootCamp Windows 8 virtual machine from scratch using GUID Partition Table?
Create OS X bootable USB (you can skip this step if you already have it):
1.1. Download the Mavericks installer from the Mac App Store on another Mac and make sure it is in the main Applications folder. (It means if you followed this advice to move the installer out of your Applications folder, you will have to move it back, at least temporarily. The Terminal command used here assumes the installer is in its default location.)
1.2. Connect to your Mac a properly formatted 8GB (or larger) drive. Rename the drive to Untitled. (The Terminal command used here assumes the drive is named Untitled.)
1.3. Select the text of this command and copy it:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
1.4. Launch Terminal (in /Applications/Utilities).
1.5. Paste the copied command into Terminal and press Return.
Warning: This step will erase the destination drive or partition, so make sure it doesn’t contain any valuable data.
1.6. Enter your admin-level account password when prompted.
1.7. The Terminal window displays the progress of the process, in a very Terminal sort of way, by displaying a textual representation of a progress bar:
Erasing Disk: 0%... 10%...20%...
The program then tells you it is copying the installer files, making the disk bootable, and copying boot files. Wait until you see the text Copy Complete. Done. (see the screenshot below), which could take as long as 20 or 30 minutes, depending on how fast the Mac can copy data to your destination drive.
Burn Windows 8 image on the CD (using Disk Utility) or create a bootable flash using Boot Camp assistance.
Boot from the Windows 8 installation media:
3.1. Put the disk or USB drive in the Mac and start it.
3.2. Hold an Option key to choose the required drive.
Run Command Prompt:
4.1. Adjust the language options if you need to and then click on "Next".
4.2. Click on 'Repair your Computer'.
4.3. Click on the middle option 'Troubleshoot'.
4.4. Then choose the last option 'Advanced options'.
4.5. Choose the last option Command Prompt
Change Mac OS partition style to GPT
NOTE: All the data will be removed from the Mac.
Install Mac OS X:
6.1. Boot from installation USB or CD drive.
6.2. Run Disk Utility.
6.3. Select Mac disk, choose the Partition tab, in the 'Partition Layout' choose '2 Partitions'.
6.4. Click '+' to add partitions.
6.5. Type the names, e.g. 'Macintosh HD' and 'BOOTCAMP' and choose the size.
6.6. Click Apply.
6.7. Proceed with Mac OS X installation.
Boot your Mac from Windows 8 installation media:
7.1. Put the disk or USB drive in the Mac and start it.
7.2. Hold in Option key to choose the required drive (if show 'Windows' and 'EFI Boot', choose 'EFI Boot').
7.3. At the 'Where do you want to install Windows' window choose the BOOTCAMP partition (you can identify it according its size) and click 'Drive Options (advanced)'.
7.4. Click Delete.
7.5. Highlight 'Unallocated Space' and click 'New'. Choose the size and click Apply.
7.6. Select the new partition and proceed with Windows installation.
7.7. Boot into Windows (hold Option key) and install Software for BootCamp.
Boot into OS X and install Parallels Desktop.
Install BootCamp virtual Machine:
9.1. In the Parallels Desktop menu bar go to File -> New.
9.2. In the Parallels Wizard choose 'Use Windows from Boot Camp'.
9.3. Proceed with Windows VM installation.