Moving Parallels Image to Boot Camp

Discussion in 'Parallels Desktop for Mac' started by matt.mendick, Mar 20, 2007.

  1. matt.mendick

    matt.mendick Bit poster

    Messages:
    2
    I'm trying to figure out if there's a way to copy my parallels image to a boot camp partition, so that I can use the "using parallels from a boot camp partition" feature. I used to use boot camp, then found parallels to be better for me at the time, so I deleted the boot camp partition. But now my needs include needing native windows, and only have my parallels image. I'm obviously attempting to not have to get rid of my parallels image, and make a new boot camp partition from scratch.

    Is this possible? Thanks!
     
  2. bps1

    bps1 Bit poster

    Messages:
    7
    Let me know how this works.

    Converting Paralells image to BootCamp - Guide

    V to P BootCamp Guide. How to Migrate a Parallels VM to a Boot Camp Partition.

    Since the release of the new Parallels Beta build 3036, I have been anxious to move towards using Parallels with a Boot Camp Windows install. My work requires I use Windows on my MacBook every day, and Parallels has been a fine solution up to now. Occasionally, there are times, booting natively would assist with some of the more processor intensive tasks, such as editing large Photoshop images. Because my parallels VM had been finely customized over the last few months, I needed a way to migrate my Parallels VM onto a Boot Camp partition. Little did I realize how difficult a task this could be. After trying unsuccessfully for 4 days, I finally hit on a method that allowed me to do what I needed. Below is a guide to assist those of you who might need to do the same. Here are some notes to keep in mind about my setup. If your environment is different at all, your mileage may vary.

    * Machine: White MacBook Core Duo 2 Ghz with 2 GB RAM
    * VM: Windows XP Professional (volume license) on a 30 GB virtual HD. 12 GB of data used.

    Tools needed:

    * WindowsXP SP2 installation CD (Volume License)
    * DriveImage XML (http://www.runtime.org/dixml.htm)
    * Bart PE Boot Disk (http://www.nu2.nu/pebuilder/) built from the XP SP2 disk
    AND including the DriveImage XML Plugin (http://www.runtime.org/peb.htm)
    * External USB2 HD formatted NTFS that is large enough to contain your disk image.
    * Intel Mac (1st Gen MacBook used here)
    * 2nd networked Windows computer with a share to dump your image to.
    * Parallels VM containing an install of Windows XP SP2
    * Home network running DHCP.

    The steps:

    1. Make a copy or clone of your original Parallels VM. Work from this copy.

    2. Build and burn a Bart PE Boot disk on a PC using your Windows XP SP2 Installation disk and adding the DriveImage XML plugin and whatever network driver is required for your Intel Mac. (I copied the following directory from a previous clean Boot Camp install “c:\Program Files\Macintosh Drivers for Windows XP\yk51x86†to the PE Builder network driver directory “C:\pebuilder\drivers\net†BEFORE creating the Bart PE Disk. You may find a better way to get the driver out for your use.)

    3. Attach your external USB2 NTFS formatted HD to the 2nd networked PC, and create a share on it to dump your image to. Remember to give the EVERYONE group full write access to the share. For this example, I will call this share \\PC2\IMAGE.

    4. Boot up the copy of your Parallels VM.

    5. Uninstall Parallels Tools from the VM.

    6. Turn off the VM, and insert the BartPE boot disk. Make sure to choose it as the boot source for your VM.

    7. Boot your VM off of the BartPE disk. When prompted, start network services. If the driver was installed correctly, they will load. Accept the default DHCP configuration to get an IP address.

    8. Use the BartPE GO Menu to map a network drive (GO>SYSTEM>NETWORK>MAP NETWORK DRIVE). Remember to use the Connect as a Different User Name option to pass on the credentials for an authorized account on the PC2 computer. The username will be entered in the following format: PC2\username.

    9. Once the drive is mapped, start DiveImage XML (GO>PROGRAMS>DRIVE IMAGE XML). Create an image of your VM’s C: drive and save it to the \\PC2\IMAGE share.

    10. Shut down your VM after the image completes.

    11. Remove the USB2 hard drive containing the new image from your VM from the 2nd PC.

    12. Use Apple’s Boot Camp Assistant to create a Windows partition. Do not forget to burn a drivers CD.

    13. Attach the USB2 Hard Drive to your Intel Mac.

    14. Insert the BartPE Boot Disk into the Mac and begin the windows install using the Boot Camp Assistant. IMPORTANT: Hold down the Option Key as your Mac is rebooting. If you do not, the Bart CD may spit out.

    15. Select the Bart PE CD as the boot source and continue to boot off the disk.

    16. Once Bart PE loads you do NOT need to start the network services. Your image is already on the attached external hard drive.

    17. Use DriveImage XML to restore the VM image to your Boot Camp c: drive. DO NOT RETORE ANY WHERE ELSE.

    18. When DriveImage XML finishes, turn off your Mac.

    19. Reboot, holding down the Option key. When you are at the Boot Camp boot source window, eject the Bart PE Disk, insert your Windows XP SP2 disk.

    20. You will now need to use the Windows Recovery console to fix your XP installation. I found this information on the following web page: http://www.short-media.com/review.php?r=313 . (Thank you Thrax!!) If you try to boot directly into Windows, the boot will fail because the NTOSKRNL.EXE file is missing or corrupted.

    21. When the Windows Installer gets to the Welcome to Setup screen, press R to repair your XP install.

    22. Your previous install should be found. You will choose it by pressing the appropriate number (usually 1) and ENTER.

    23. Enter the Local Administrator password the VM you just restored then press ENTER.

    ENTER THE FOLLOWING COMANDS SEPERATELY, EXACTLY AS THEY ARE BELOW ON THE C:> PROMPT, AND PRESSING ENTER AFTER EACH.

    24. CD ..

    25. ATTRIB –H C:\boot.ini

    26. ATTRIB –S C:\boot.ini

    27. ATTRIB –R C:\boot.ini

    28. del boot.ini

    29. BOOTCFG /Rebuild

    30. Select your Windows install (1) and press ENTER

    31. Press Y and ENTER to add it to your boot list.

    32. Enter Microsoft Windows XP Professional as the Load Identifier and press ENTER.

    33. add the following OS load options:
    /fastdetect /noexecute=optin
    then press ENTER.

    34. Run a checkdisk on the drive by entering the following:
    CHKDSK /R

    35. Run this final command to ensure the boot record is repaired:
    FIXBOOT

    36. type EXIT and press ENTER.

    37. Once again, press the Option key while the Mac boots. Make sure the XP Install Disk Stays in and it is selected as the boot option.

    THE FOLLOWING INSTRUCTIONS ARE FROM http://www.michaelstevenstech.com/XPrepairinstall.htm

    38. When you see the "Welcome To Setup" screen, press ENTER to start the Windows Setup.

    39. To setup Windows XP now and Repair Install , press ENTER. do not choose "To repair a Windows XP installation using the Recovery Console, press R", (you Do Not want to load Recovery Console again).

    40. Accept the License Agreement and Windows will search for existing Windows installations.

    41. Select the XP installation you want to repair from the list and press R to start the repair. (If Repair is not one of the options, END setup. (You have other problems and may just need to do a new install for Boot Camp.)

    42. Setup will copy the necessary files to the hard drive and reboot. Do not press any key to boot from CD when the message appears. You may be asked to insert the disk if your Mac spits it out.

    43. Setup will continue as if it were doing a clean install, but your applications and settings will remain intact. You will need to reenter your XP Install Key after the reboot.

    44. After the installation finishes and your Mac reboots you should be able to log into the windows install that was previously on your Parallels VM.

    45. Use the Macintosh Drivers for Windows XP CD to install the Apple drivers for your Intel Mac.

    46. Reapply updates or service packs applied since initial Windows XP installation using Windows Update.

    47. You should now have a fully functioning Boot Camp install migrated from your old Parallels VM.

    48. If you wish to use this install as a Parallels VM with the new 3036 beta build, you need to boot into your Windows XP natively through Boot Camp and install Parallels Tools for Boot Camp package in it before your first boot in Parallels Desktop for Mac.

    Good luck. I hope I save someone all the time I spent trying to get this working. Feel free to share this information and correct any mistakes you see. I put this together in a mad rush because I was so excited to get it working.
     
  3. matt.mendick

    matt.mendick Bit poster

    Messages:
    2
    THank you very much for that exhaustive list. I did try it, and although I did all the steps to a T, I ran into trouble at step 46 because I did not press any keys and it booted directly into the CD again. I removed the CD and tried booting into the windows partition by selecting that from "startup disk" in system prefs, but it kept saying there was no boot drive or something like that. But, my parallels image must have been flawed or there's just a problem with another microsoft product (surprise, surprise). But thanks very much and I hope others can benefit from these steps.
     
  4. Eru Ithildur

    Eru Ithildur Forum Maven

    Messages:
    1,954
    Here is a much less extensive list (Geez bps1, you've got us beat!), but it might work:

    1. Un-install Parallels tools.
    2. Download Acronis to your VM.
    3. Back-up your VM with Acronis to an external.
    4. Download BootCamp.
    5. Install BootCamp with Windows XP SP2 and the BootCamp tools per the instructions on Apple's site.
    6. Restore your Acronis image to BootCamp. (Your old data should now be there)
    7. Create a new VM, use the Advanced configuration and BootCamp as a harddrive.
    8. Boot into your new VM and install Parallels tools.
     
    iciconnect likes this.
  5. iciconnect

    iciconnect Member

    Messages:
    25
    Do you know if this process still works for Yosemite and Parallels 10?
     

Share This Page