Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing VirtualBox disk



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org