- Convert Parallels Vm To Virtualbox
- Parallels Vm To Virtualbox
- Convert Parallels To Virtualbox
- Parallels Desktop Vs Virtualbox
September 2, 2016
Convert Parallels Vm To Virtualbox
Download the Parallels Transporter Agent application from Parallels and run it on your Windows or Linux system. Use the wizard to transfer your current physical PC to an external hard drive or your Mac over the network, choosing exactly what makes it into that virtual machine. For VirtualBox – A Manual Method. To start, Parallels and VMware are companies with multiple products, so the question needs to be narrowed, unless you meant to actually compare the companies for a career path, investment, etc. But since you’ve included VirtualBox, I’ll assume you mean to compare the comparable type-2 hypervisor products from each.
The 31st of August I removed Parallels Tools from a virtual machinerunning Ubuntu 15.10 because the grace period of 7 days, so'generously' given by Parallels after I didn't renew my subscription,had ended. Somehow this company considers it a smart move to maketheirsoftware useless if one no longer pays. Iunderstand removing some functionality, like for example no longerable to create new virtual machines, but this? No, too close toransomware for my taste. Especially since Parallels Desktop needs tobe updated often, either to deal with changes in the host operatingsystem, OS X, or changes in the guest operating systems.
Anyway, to be honest, it was always my plan to eventually move mywork, as a freelance Perl programmer to OS X. One of the reasons Ibought a Mac mini. However, I was expecting the move to be a bit moreon my terms, less forced. To make the transition more gradual, Idecided to move the Ubuntu 15.10 virtual machine to VirtualBox.
Uninstalling Parallels Tools
To run things smoother Parallels Desktop can make modifications to aguest operating system installed in a virtual machine. Because I wasafraid these modifications are going to conflict with VirtualBox afterthe migration, I uninstalled Parallels Tools.
Wednesday, I tried the first solution given atHow to uninstall Parallels Tools in Ubuntu Linux,which didn't work for me. Luckily there was alternative given, aneasier one in my opinion, running just one command:
And this did the trick.
Since it was already late I decided to do the rest of the requiredmove the coming days.
Uninstalling an old version of VirtualBox
While writing this all down I noticed that I had already an olderversion of VirtualBox installed on my Mac mini, version 5.0.16 r105871to be exact. Instead of just updating it I decided to uninstallit. But first I removed a bunch of virtual machines which I no longerneeded; I was no longer working on the project requiring those. Thisfreed up quite some harddisk space on my Mac.
In the end I kept three VMs; sparkvm
which I used during twoedX courses, Windows XP with SP3, andUbuntu 15.10. The later was my go to VM when Parallels Desktop had amajor issue with a Compiz update. I actually wanted to decommisionthat one by comparing files to a recent backup, but it won't let memount an external USB drive. I got an error dialog with the followingmessage.
Failed to attach the USB deviceWestern Digital My Passport 0820[1007] to the virtual machine Ecce15.10
When I clicked details I read:
Failed to create a proxy device for the USBdevice. (Error: VERR_PDM_NO_USB_PORTS).
Followed by some more technical details regarding the issue. Hopefullythis is fixed in the version I am about to install as I really need tobe able to access external USB devices, especially hard disks.
Edit: enabling 'USB 3.0 (xHCI) Controller' in the settings most likelyfixes this issue, see below, near the end of this blog post.
I exported each virtual machine to a file using the 'ExportAppliance...' option in the File menu of VirtualBox. Next, I deletedeach virtual machine. Since I use Time Machine I am not too worried ifthe export of the virtual machines fails at one point; rolling back is easy.
Next, I uninstalled VirtualBox not by just deleting the program fromthe Applications folder but by actually running the uninstaller whichcame with it in the file I had downloaded months ago;VirtualBox-5.0.16-105871-OSX.dmg
. The reason for this is thatVirtualBox installs several kernel extensions (kexts), which are notdeleted by just removing the app from the Applicationsdirectory. Those kexts can be listed as follows:
The Perl one liner is used to print just the name and version numberof only the org.virtualbox
kexts.
So after I had removed (deleted) the three remaining virtual machinesand quit VirtualBox I ran the DMG and selectedVirtualBox_Uninstall.tool
. After confirming that I was sure to openthe script a terminal window was opened in which I had to confirm theuninstall by typing 'yes'. Next the process prompted me for a passwordto grant it administrative privileges.
After the script reported [Process completed]
I closed thewindow. When I ran the above kextstat
pipe again, no lines showedup; the kernel extensions had been unloaded.
Downloading and Installing VirtualBox 5.1
I downloaded VirtualBox 5.1.4 for OS X via the officialVirtualBox download page.When I opened the downloaded DMG a dialog showed up. I followed theinstallation instructions given and double clicked theVirtualBox.pkg
icon. The installer wanted to run a program todetermine if the software can be installed, so I clicked Continue, andagain in the installer dialog window itself, followed by a click onInstall. After I entered my password VirtualBox was installed.
Migrating the Parallels Virtual Machine
I migrated my Ubuntu 15.10 Parallels Desktop virtual machine usinginstructions by Jummywhich I have written out less concise below.
Use Finder to open the Parallels directory located in Documents
Select the virtual machine
Open the context menu and select 'Show Package Contents'
Select the file with the extension
hdd
; in my caseUbuntu Linux-0.hdd
.Open the context menu and select 'Show Package Contents'
Locate the file with extension
hds
and copy it to a differentlocation. This is the largest file, in my case over 180GB.Note that if your virtual machine is large, like in my case, it cantake quite some time to make a copy of it.
Open VirtualBox and click the 'New' icon to create a new VirtualMachine. In my case I used:
- Name: Ubuntu 15.10
- Type: Linux
- Version: Ubuntu (64-bit)
Select the amount of memory; I used 4096 MB (4G).
Move the file with the
hds
extension you copied earlier into thesubdirectory ofVirtualBox VMs
with the same name as given to thevirtual machine you're creating. TheVirtualBox VMs
directory islocated in your home directory. Change the extension of the file tohdd
.I used:
- Important: in the Hard Disk step select 'Use an existing virtualhard disk file' and select the file you just moved. In my case
Ubuntu 15.10.hdd
. - Click create.
- Start the virtual machine.
In my case this worked!
I logged in, no problem. Next I shut down the virtual machine becauseI wanted to install the VirtualBox extension pack first to test USBsupport, followed by installing the Guest Additions in my migratedvirtual machine.
Installing the VirtualBox Extension Pack
I downloaded VirtualBox 5.1.4 extension pack via the officialVirtualBox download page.After the download finished I just opened the extensionpack. VirtualBox asked for confirmation and I clicked Install. Next,I had to agree with the 'VirtualBox Personal Use and EvaluationLicence (PUEL)', which I did by clicking on the 'I Agree' button. Ientered my password and nearly immediately the message that theextension pack was installed successfully showed up.
Parallels Vm To Virtualbox
Installing Guest Additions
I started the migrated virtual machine and logged in. From the'Devices' menu I selected the bottom entry 'Insert Guest Additions CDImage...'. Ubuntu asked if I wanted to run the software; I confirmed.After I had entered my password the installation process started.
When the installation was done I pressed Return to close the window,as suggested by the installer and rebooted the virtual machine. Afterlogging in I was not able to change the desktop resolution to anythinghigher than 1024 x 768. Worse, I still could not access a USB drive.
Convert Parallels To Virtualbox
To fix the latter I Googled for VERR_PDM_NO_USB_PORTS
, a code givenin the details of the error message, and found the solution. I had tostop the virtual machine, open the settings and in the USB tab of'Ports' enable 'USB 3.0 (xHCI) Controller'. After I had done this Istarted the virtual machine once more. And this time I could use theexternal hard disk.
Parallels Desktop Vs Virtualbox
The resolution, however, is still stuck at a maximum of 1024x 768. It's not that important as I want to migrate the coming weeksto OS X, and this minor nuisance might make this happen sooner thanlater.