Importing / Exporting Virtual Disk Images with Virtual Box

Importing / Exporting Virtual Disk Images with Virtual Box : Prosthetic Conscious

Importing / Exporting Virtual Disk Images with Virtual Box

Virtual Box is amazing for an open source project. It comes close to VMWare in usability. Where it falls short is importing and exporting images. There’s no support in the user interface for this. If you feel comfortable using the command line, you can export and import a disk image. Here’s how,

To export:

1. Shut down the VM
2. Use the “VBoxManager clonevdi …” CLI to copy the disk image. On my Mac this was at /usr/bin/vboxmanage

To import:

1. Register the disk image: File>Virtual Disk Manager>Add
2. Create a new VM, and use the disk image you added in step 1

The obvious problem is that the .vdi file is just a disk image. It doesn’t capture the virtual machine. You must know the correct parameters to use when you create the VM in the import process or the disk image won’t be able to run. It also doesn’t capture the state of the virtual machine.

Vbox has a very nice snapshot feature. If one could import / export snapshots it would be perfect.

Related posts:

  1. GnuPG/GPG: Exporting your Public Key
  2. Ubuntu Howto: Install Xen
  3. Howto Install Windows XP / Vista on Xen
  4. Installing Xen on Debian Etch 4.0
  5. How To Autorun Programs From USB Flash Disk Drive
  6. Xen Howto: Install Windows
  7. Howto: Resize Xen Loop Disk Image
  8. Add Reflections To Images With Javascript
  9. List of Websites with Free Stock Photos and Images
  10. Seamless Windows Applications on Ubuntu Linux Using VirtualBox

Popular Related Items »

1 Comment »

  1. axel said,

    April 25, 2009 @ 23:27

    Nice article. I found another one with screenshots. Here is the link.

    How to copy and transfer or backup a Virtualbox Virtual Machine .vdi

RSS feed for comments on this post · TrackBack URI

Leave a Comment