Click here to Skip to main content
14,548,341 members

Converting Parallels Virtual machine To Virtual Box

Rate this:
5.00 (3 votes)
Please Sign up or sign in to vote.
5.00 (3 votes)
4 Feb 2017CPOL
A quick how-to on converting VMs from Parallels on Mac, to VirtualBox on Windows.

Image 1
 

First stage in leaving Apple Mac and going back to Windows…

After an 18 month love/hate relationship with my Macbook Pro, I have decided its time to say goodbye to Apple and go back to my roots in Windows (10). I have a brand spanking new Dell XPS (which has its own minor issues), and a completely over the top new desktop machine.  My problem now is that I need to transfer some big heavy virtual machines that I have in Parallels to Virtual Box on Windows/Linux, so how to? … after a bit of digging, and patching a bit from various posts, here’s how to get the job done, with gratuitous screenshots to guide you through the same process…

Step 1 – Backup !!!

I cannot stress the importance of this enough – I’ve bitten myself more than once with this in the past – don’t leave things to chance – unless you are willing and able to lose data, back-it-up … its IT – stuff happens … prepare :)

If you didn’t specifically give a location for your parallels storage, there is an easy way to find where the files are located. In the Parallels main manager, select the VM you want to convert, right-click, and select ‘show in finder’

Image 2

Step 2 – Uninstall Parallels tools

In parallels, to be able to have better screen resolution, connect to the external host etc, you install ‘Parallels tools’ – this is your gateway if you like to the host. To be able to install the converter tool, you need to uninstall parallel tools. So inside your virtual machine, use what ever mechanism is available to you (programs add/remove, etc) to remove these tools. You will have to reboot the Virtual Machine after you do this. Also when you reboot, the machine will most likely not be as you had it – with a different (basic) screen resolution etc. Also, big note and kind of a gotcha! … once you remove parallel tools, you no longer have access to shared drives on the host … this means if you have downloaded the converter (next step) onto a shared folder, boom, you’re caught and need to find a way to get that installer into the virtual machine to move to the next step. In my case I copied the installer onto a USB key and then used parallels menu to give the USB device access to the virtual machine, so I could import it in.

Step 3 – install and run Virtual box converter

So, whats this installer thingy … well, the nice folk over at VMWare have produced a very useful tool known as the ‘Virtual Machine Converter’.  To get a FREE copy (we like free, right?), you need to go to the VMWare site, sign up/open an account (don’t worry, its free), and download. Here’s the link to download it… its about 180 mb so go click before you continue!

When its installed, you need to tell it to to its convert thing … here’s how to get to that stage…

First, startup the converter *inside* the virtual machine itself. Once its running, click on ‘convert machine’

Image 3

Next, we need to tell it what to convert – in this case it is ‘this machine’ (ie: the one you are running it inside … obvious really?!).

Image 4

In the next page, you need to select the hard-drive that contains the data/setup etc you need – its also good to ensure you have checked the ‘ignore hibernation and page file’ option – otherwise you are bringing in potentially unwanted bloat to your converted machine.

Image 5

The wizard then gives you a summary of what you are about to do – have a quick check to ensure its what you want (should be, its pretty basic…)…

Image 6

Click finish, and you’re off to the races…. as you can see, the conversion process can take a bit of time so reach to the bookshelf and start reading a chapter of that book you never got finished, and check back a bit later … tick-tock….

Image 7

first stage all done! …

Image 8

the next step is to take the converted machine and transfer it to your new host in Virtual box. In my case I told the converter to place the converted file onto an external drive, so my next step is to copy that to the new host machine and then start the import procedure.

Image 9

Step 4 – Import the converted image

Right – now I’m assuming that you *have* installed Virtual box at this stage. If not, you can download it here, and the install is a simple wizard progress. I’ll wait while you catch up…

.

.

.

done? … good, lets proceed :)

In Virtualbox, create a new machine…

Image 10

You need to give it a name, and depending on what you are importing, choose the appropriate OS type and version

Image 11

Next step is to assign some memory space to the machine – in general, Virtualbox makes a good stab at this, but you can adjust if you need to…

Image 12

Now, the magic piece! … point the machine hard-disk at the exported/converted machine where ever you have it saved… (click the little folder icon to browse for it…)

Image 13

And voila, machine ready to start and use!

Image 14


Thats it, if you have this particular need, this should help you out!

 

History

Version 1 - 4/Feb/2017

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

DataBytzAI
Chief Technology Officer The DataWorks
United Kingdom United Kingdom
Allen is a consulting architect with a background in enterprise systems. His current obsessions are IoT, Big Data and Machine Learning. When not chained to his desk he can be found fixing broken things, playing music very badly or trying to shape things out of wood. He runs his own company specializing in systems architecture and scaling for big data and is involved in a number of technology startups.

Allen is a chartered engineer, a Fellow of the British Computing Society, and a Microsoft MVP. He writes for CodeProject, C-Sharp Corner and DZone. He currently completing a PhD in AI and is also a ball throwing slave for his dogs.

Comments and Discussions

 
QuestionDestination System? Pin
Member 1399712025-Sep-18 4:46
MemberMember 1399712025-Sep-18 4:46 
GeneralIn Step 4 the VDMK file must be on a local host hard drive Pin
Member 134552869-Oct-17 14:28
MemberMember 134552869-Oct-17 14:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Article
Posted 4 Feb 2017

Tagged as

Stats

70.7K views
4 bookmarked