Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created May 5, 2011 01:58
Show Gist options
  • Save funkatron/956398 to your computer and use it in GitHub Desktop.
Save funkatron/956398 to your computer and use it in GitHub Desktop.
Moving a webOS VM from one OS X box to another

On my LAN, I have:

  • Machine A: An OS X machine running VirtualBox 3.2
  • Machine B: An OS X machine running VirtualBox 4

Here's what I did:

  1. first, create the image on machine A by running the Palm Emulator application.

  2. open VirtualBox 3.2 on machine A to make sure it set up correctly. Run it and watch it boot. If it works fine, shut it down.

  3. On Machine B, close all VBox VMs that are currently running, and close the VirtualBox application if it is running.

  4. On Machine A, go to /Users//Library/VirtualBox/HardDisks and copy the .iso and .vmdk files to the same path on Machine B

  5. On Machine A, go to /Users//Library/VirtualBox/Machines and copy the entire directory for the machine you created to the same path on Machine B.

  6. Open /Users//Library/VirtualBox/VirtualBox.xml on Machine A in a text editor

  7. in another text editor window, open /Users//Library/VirtualBox/VirtualBox.xml on Machine B

  8. Copy the XML entry for the webOS VM from the <MachineRegistry> section from the file on Machine A to the file on Machine B. The entry will look something like this:

    <MachineEntry uuid="{83ddfc89-aefb-42e7-b0c0-b47535644d6a}" src="Machines/SDK 3.0.0.625 (1024x768)/SDK 3.0.0.625 (1024x768).xml"/>

  9. Copy the XML entry for the webOS Emu Hard Disk from the <HardDisks> section from the file on Machine A to the file on Machine B. The entry will look something like this:

    <HardDisk uuid="{896cdea9-cbee-4ad4-b2f9-28ece577fde8}" location="/Users/coj/Library/VirtualBox/HardDisks/SDK-3.0.0.625-1024x768.vmdk" format="VMDK" type="Normal"/>

  10. Copy the XML entry for the webOS VM Hard Disk from the <DVDImages> section from the file on Machine A to the file on Machine B. The entry will look something like this:

    <Image uuid="{0ace88e3-b0ca-4bea-8d6c-ff0f459b35de}" location="/Users/coj/Library/VirtualBox/HardDisks/SDK-3.0.0.625-1024x768.iso"/>

  11. Save the file on Machine B.

  12. Start VirtualBox 4 on Machine B. If everything worked, you should see an entry for your new webOS VM on the left. If not, make sure you did everything correctly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment