Resizing VirtualBox disk

Chris O'Connell omegahalo-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Feb 5 14:02:47 EST 2011


Does the windows disk manager show that there is more space on wn empty partition?  Looks like the command completed successfully to me.

Chris O'Connell
>From my iPhone 

On Feb 5, 2011, at 1:52 PM, jbk <jbk-SkCWf5sxpj0sV2N9l4h3zg at public.gmane.org> wrote:

> 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
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss




More information about the Discuss mailing list