How to use VBoxManage?
Posted: 18. Jun 2009, 17:48
I'm trying to clone an image of Vista so I can load some software to test on that image and not have to worry about it messing up my real version.
I found in the manual that says I have to use the VBoxManage command. I searched on this forum and found VBoxManage in the VirtualBox package (actually, I found 3 of them). But I'm not sure what to do next. In terminal, I gave it the command vboxmanage clonehd "vista - clean.vdi" TestVista.vdi
But I'm confused by the error message
ERROR: Cannot register the hard disk '/Users/Main/Windows/vista - clean.vdi' with UUID {076ded28-9a5e-474e-ba72-44a6fa4a92e0} because a hard disk '/Users/Main/Windows/vista - clean.vdi' with UUID {076ded28-9a5e-474e-ba72-44a6fa4a92e0} already exists in the media registry ('/Users/Main/Library/VirtualBox/VirtualBox.xml')
Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "OpenHardDisk(Bstr(szFilenameAbs), AccessMode_ReadWrite, srcDisk.asOutParam())" at line 603 of file VBoxManageDisk.cpp
Any idea where I got offtrack?
Did I misread the format: vboxmanage clonehd <sourcefile> <newfile>
I found in the manual that says I have to use the VBoxManage command. I searched on this forum and found VBoxManage in the VirtualBox package (actually, I found 3 of them). But I'm not sure what to do next. In terminal, I gave it the command vboxmanage clonehd "vista - clean.vdi" TestVista.vdi
But I'm confused by the error message
ERROR: Cannot register the hard disk '/Users/Main/Windows/vista - clean.vdi' with UUID {076ded28-9a5e-474e-ba72-44a6fa4a92e0} because a hard disk '/Users/Main/Windows/vista - clean.vdi' with UUID {076ded28-9a5e-474e-ba72-44a6fa4a92e0} already exists in the media registry ('/Users/Main/Library/VirtualBox/VirtualBox.xml')
Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "OpenHardDisk(Bstr(szFilenameAbs), AccessMode_ReadWrite, srcDisk.asOutParam())" at line 603 of file VBoxManageDisk.cpp
Any idea where I got offtrack?
Did I misread the format: vboxmanage clonehd <sourcefile> <newfile>