clonevdi error

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bf109
Posts: 15
Joined: 12. Mar 2009, 10:15

clonevdi error

Post 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.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: clonevdi error

Post 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 :-)
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
bf109
Posts: 15
Joined: 12. Mar 2009, 10:15

Re: clonevdi error

Post 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.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: clonevdi error

Post 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 :)
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply