Resizing VirtualBox disk

jbk jbk-SkCWf5sxpj0sV2N9l4h3zg at public.gmane.org
Sat Feb 5 13:52:37 EST 2011


On 02/05/2011 10:58 AM, David Kramer wrote:
> 
> The problem I'm having is when I run that command, I get the following
> confusing error message (indented for clarity):
> 
> david at lexa:~/.VirtualBox/VDI$ VBoxManage createhd
>   --filename  WinXPBIG.vdi --size 20480
> 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
> Disk image created. UUID: 701d381e-0b13-4d8e-8b04-1ed2ff74983e
> 
> david at lexa:~/.VirtualBox/VDI$ VBoxManage clonehd
>    --existing  WinXPPro.vdi WinXPBIG.vdi
> VBoxManage: error: Cannot register the hard disk
> '/media/extbara160/david/.VirtualBox/VDI/WinXPPro.vdi'
> {f92bed62-be92-4322-b278-adda513d3f4b} because a hard disk
> '/home/david/.VirtualBox/VDI/WinXPPro.vdi' with UUID
> {f92bed62-be92-4322-b278-adda513d3f4b} already exists
> VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057),
> component VirtualBox, interface IVirtualBox, callee nsISupports
> Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType,
> AccessMode_ReadWrite, pMedium.asOutParam())" at line 209 of file
> VBoxManageDisk.cpp

I'm going to take a wild guess and posit that you have to state the full
path from root for each, source and target. I haven't created or cloned
a vdi in a while but I have the bash history that suggests I may have
had the same or similar issue.

Jim KR




More information about the Discuss mailing list