Trouble cloning vdi

This is for discussing general topics about how to use VirtualBox.
Post Reply
feffer
Posts: 4
Joined: 7. Mar 2008, 03:33

Trouble cloning vdi

Post by feffer »

I'm trying to clone a windowsXP.vdi image which should be easy, but I'm having trouble!

Code: Select all

VBoxManage clonevdi vbox/WinXP.vdi vbox_bu/WinXP_2.vdi
VirtualBox Command Line Management Interface Version 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling virtualBox->OpenVirtualDiskImage(Bstr(argv[0]), vdi.asOutParam()) at line 2400!
[!] Primary RC  = 0x80004005
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0x80004005
[!] Text        = Could not access hard disk image '/home/pep/.VirtualBox/vbox/WinXP.vdi' (VERR_FILE_NOT_FOUND)
[!] Component   = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee      = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}  
I'm using Virtualbox 1.5.0 on Ubuntu (from their repos). I read that the vdi file should be released from the VM, but the release button is not active (greyed out). How can I make a clone?

Thx,
feffer
postfix
Posts: 40
Joined: 14. Jan 2008, 13:05

Post by postfix »

Try it with full path name of the source vdi-file, just as the message told you, that it couldn't find it.

Code: Select all

VBoxManage  clonevdi  /home/pep/.VirtualBox/vbox/WinXP.vdi  WinXP_2.vdi
What about an update to VB 1.5.6?
feffer
Posts: 4
Joined: 7. Mar 2008, 03:33

Post by feffer »

:oops: hmm, that was embarrassing! Worked fine after giving the full path. Actually, my VMs are on a different partition, and not in "/home/pep/.Virtualbox/". I used the correct relative paths (I think), but perhaps since "/home/pep/.Virtualbox/" is the default place to look it didn't work.

Actually I did upgrade to 1.5.6 after posting. Initially I didn't want to go outside of the normal Ubuntu packages. That's why I had 1.5.0

Thx,
feffer
Post Reply