Thursday, October 1, 2009

Cloning a Virtual Machine

There's a great write-up on how to clone a virtualBox hard drive. It's a bit wordy, but here's the summary:

Unmount the drive you want to clone.
  1. Right-click on the machine and go to "Settings"
  2. On the left menu, select Hard Disks
  3. Under "Attachments", select the drive to clone and click the "-" on the right to detach it from the virtual machine
Next, release the drive from the media manager.
  1. File -> Virtual Media Manager
  2. Select the drive in the Hard Disks tab
  3. Click the "Release" icon at the top
Finally, clone the drive from the command line using the VBoxManager tool.

"c:\Program Files\Sun\Virtual Box\VBoxManager.exe" clonevdi source.vdi destination.vdi


So there ya go. Good times!

No comments:

Post a Comment