Virtualbox cloning disk

January 12th, 2009

Virtualbox cloning, I got this weird error when I try to clone Zencafe pristine image in OpenSUSE, I think their thinking of path from the VBoxManager CLI is a bit misleading, here’s what I got,


oblek@linux-5gtt:~> VBoxManage clonevdi .VirtualBox/VDI/zencafe-2009011201.vdi ./zencafe-2009011200.vdi
VirtualBox Command Line Management Interface Version 1.5.6_OSE
(C) 2005-2008 innotek GmbH
All rights reserved.

[!] FAILED calling virtualBox->OpenVirtualDiskImage(Bstr(argv[0]), vdi.asOutParam()) at line 2500!
[!] Primary RC = 0×80004005
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0×80004005
[!] Text = Could not access hard disk image ‘/home/oblek/.VirtualBox/.VirtualBox/VDI/zencafe-2009011201.vdi’ (VERR_FILE_NOT_FOUND)
[!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}


notice how VBoxManage add .VirtualBox entry in front the argument.

my current $PWD is $HOME, when I ommited my .VirtualBox directory, it works.


oblek@linux-5gtt:~> VBoxManage clonevdi VDI/zencafe-2009011201.vdi ./zencafe-2009011200.vdi


Leave a Reply