Virtual machine export located at $(dirname "$HARDDRIVE")/$VM.pvm. Import Drive will let you select a file to mount and New Drive will let you create either. Msg_status "Unregistring the virtual machine" You can create and mount virtual drives for the VM in the Drives tab. Prl_disk_tool convert -merge -hdd "$(dirname "$HARDDRIVE")/$VM.pvm/$(basename "$.hdd")"
![convert parallels to virtualbox image convert parallels to virtualbox image](https://kb.parallels.com/Attachments/kcs-36771/pd_open_2.jpg)
Convert parallels to virtualbox image how to#
This tool appears in various place on the web when it comes to the question on how to convert a Parallels virtual machine to something VirtualBox or a VMware product can understand.
![convert parallels to virtualbox image convert parallels to virtualbox image](https://www.tutonaut.de/wp-content/uploads/2018/11/VirtualBox-Guest-Additions.jpg)
Prlctl create "$VM" -ostype macos -no-hdd -dst="$(dirname "$HARDDRIVE")" As user of a more recent version of Parallels Desktop, 12 at the time of writing, you might have heard about the famous Parallels Image Tool. Msg_status "Creating new virtual machine" $(basename "$0") "/path/to/diskimage.vdi"Ĭonverts virtual disk image to Parallels hard disk (HDD) and creates Parallels virtual machine from that image One can also supply a custom "choice changes XML" file to modify the installer choices in a supported way, but from my testing, this only allows removing several auxiliary packages that make up no more than 6-8% of the installed footprint (for example, multilingual voices and dictionary files). It should also be possible to modify the OS X installer package to install fewer components, but this is non-trivial. It might be advisable to remove (with care) some unwanted applications in an additional postinstall script. # Generating a packer box using the parallels-pvm builderįinally, the parallels-pvm builder allows to use the previously generated virtual machine to generate the provisioned packer box.Ī built box with CLI tools, Puppet and Chef is over 5GB in size. The ```prepare_pvm.sh``` script converts a virtual disk image into Parallels's hard disk (.hdd) and creates a Parallels virtual machine (.pvm) with that disk attached. The ```prepare_vdi.sh``` command will run the installer's ```OSInstall.pkg``` or ```ist``` creating a fresh install in a temporary disk image which is converted into a VDI disk image. # Installing and exporting to a VirtualBox virtual disk image This approach requires VirtualBox and Parallels Desktop.
![convert parallels to virtualbox image convert parallels to virtualbox image](https://www.howtogeek.com/wp-content/uploads/2017/01/08_shutting_down_virtual_machine_virtualbox.png)
# Parallels support via ```prepare_vdi.sh```, ```prepare_pvm.sh``` and packer parallels-pvm