Page 1 of 1

clonevdi error

Posted: 17. Mar 2009, 06:03
by bf109
Any idea what this could be anyone?

Code: Select all

me@computer:~$ VBoxManage clonevdi /home/me/.VirtualBox/VDI/W2K3Eval.vdi media/47gb/Vboxvdi/W2K3Eval3.vdi
VirtualBox Command Line Management Interface Version 2.0.4_OSE
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

0%...FAILED
Error: failed to clone disk image. Error message: Could not copy the hard disk image '/home/me/.VirtualBox/VDI/W2K3Eval.vdi' to '/home/me/.VirtualBox/media/47gb/Vboxvdi/W2K3Eval3.vdi' (VERR_FILE_NOT_FOUND)
I just mounted the partition /dev/sda2 as /media/47gb which used to be an NTFS partition that I recently formated to ext3. I thought that maybe I needed to reboot after I just mounted that partition and updated the fstab but I got the error again after a reboot. Not sure why.

Re: clonevdi error

Posted: 17. Mar 2009, 07:39
by TerryE
Read the error message. Programmers do funny things like put the information that you need in them. Your second argument media/47gb/Vboxvdi/W2K3Eval3.vdi is path relative and Vbox assumes /home/<yourAccount>/.VirtualBox/ as the base, hence the file name /home/me/.VirtualBox/media/47gb/Vboxvdi/W2K3Eval3.vdi. This create fails because you don't have a subdirectory media/47gb/Vboxvd there. Try sticking the missing / in front :-)

Re: clonevdi error

Posted: 17. Mar 2009, 18:53
by bf109
Oops. :oops: Thanks for the help. I am very new to Linux and I find myself so intimidated by it that I am overlooking the obvious at times. My apologies.

Re: clonevdi error

Posted: 17. Mar 2009, 19:00
by TerryE
Don't worry. Glad to help. I am sure that we all occasionally do. I wish I had a $/£/€ for every time that I scratched my head over some error just to realise that the error message was telling me what was wrong :)