Skip to content

Instantly share code, notes, and snippets.

@dakcarto
Created March 18, 2014 20:40
Show Gist options
  • Save dakcarto/9629096 to your computer and use it in GitHub Desktop.
Save dakcarto/9629096 to your computer and use it in GitHub Desktop.
Convert OSGeoLive .vmdk to Parallels virtual machine
### Converting to Parallels ###
# convert .vmdk to a Parallels machine (tested on Mac OS X 10.9 and Parallels 9)
# first launch /Applications/Parallels\ Desktop.app (provides service for prl_convert)
# NOTE: the converted vm is named 'Ubuntu Linux.pvm' by default;
# ensure /<dest-volume> does not already contain a similarly named vm
# in Mac's Terminal.app
$ /Applications/Parallels\ Desktop.app/Contents/MacOS/prl_convert <path-to>/osgeo-live-7.9.vmdk --dst=/<dest-volume> --reg=n
WARNING: Reconfiguration iso is unavailable. Linux guest reconfiguration is impossible
Conversion progress: 100 %
The source third-party virtual disk was successfully converted to a Parallels virtual machine stored in /<some-other-volume>/Ubuntu Linux.pvm.
# open /<dest-volume>/Ubuntu Linux.pvm/config.pvs
# change <VmName>Ubuntu Linux</VmName> to whatever you want, e.g. OSGeoLive-7.9
# change /<dest-volume>/Ubuntu Linux.pvm to match VmName, e.g. OSGeoLive-7.9.pvm
# add to Parallels Virtual Machines List (e.g., browse to /<dest-volume>/OSGeoLive-7.9.pvm)
# choose that the vm was MOVED (not COPIED) in dialog about transferred vm
# configure vm to suit your needs
# launch newly added vm
# on Retina display Macs, open Applications->Settings->Settings Manager and set resolution to 1024x768
# if vm launches OK:
# optionally remove <path-to>/osgeo-live-7.9.vmdk, keeping osgeo-live-vm-7.9.7z as backup
# install Parallels Tools
# see: http://live.osgeo.org/en/quickstart/virtualization_quickstart.html
# install build essentials and system headers
$ sudo apt-get install build-essential linux-headers-generic
[sudo] password for user: <-- input: user
# install Parallels Tools from Virtual Machine menu item, as per usual for Ubuntu
# NOTE: the tools seem to work fine, but there is a notice on vm launch that something is amiss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment