Page 1 of 1
who can help me with this error
Posted: 12. Mar 2013, 14:04
by zh_zhang1984
I have tried to import a file named "MIMIC2_VM_v1.xml" to virtual box. this file is downloaded from the internet and I saved it to my local disk.
When I tried to import this files to virtual box, I failed and the following message showed:"root element in virtualbox setting files must be "virtualbox" "
my version is 4.2.8
many thanks for the help!
Re: who can help me with this error
Posted: 12. Mar 2013, 14:11
by zh_zhang1984
the "MIMIC2_VM_v1.xml" is attached as follows.
Re: who can help me with this error
Posted: 12. Mar 2013, 14:18
by mpack
Try renaming this to "MIMIC2_VM.ovf" and then use the File|Import feature. There should of course be a disk image file (a vmdk) to go along with this descriptor, otherwise you are wasting your time.
I'm puzzled as to why you have a "Machines" folder in your "Program Files\Oracle\VirtualBox" parent folder. The Machines folder has not existed for years, but when it did exist it went in the users data folder, not a program files folder.
Re: who can help me with this error
Posted: 12. Mar 2013, 14:27
by zh_zhang1984
mpack wrote:Try renaming this to "MIMIC2_VM.ovf" and then use the File|Import feature. There should of course be a disk image file (a vmdk) to go along with this descriptor, otherwise you are wasting your time.
I'm puzzled as to why you have a "Machines" folder in your "Program Files\Oracle\VirtualBox" parent folder. The Machines folder has not existed for years, but when it did exist it went in the users data folder, not a program files folder.
many thanks for your help!
where should I put the vmdk file? should it be in the same folder with the .ovf?
the "machine" folder is created by myself because when I GOOGLE my question, I find some one has put xml file within the machine file.
Re: who can help me with this error
Posted: 12. Mar 2013, 14:32
by mpack
zh_zhang1984 wrote:where should I put the vmdk file? should it be in the same folder with the .ovf?
Yes, exactly.
zh_zhang1984 wrote:the "machine" folder is created by myself because when I GOOGLE my question, I find some one has put xml file within the machine file.
When a VM is imported from an OVF, VirtualBox creates the .xml file itself, based on the OVF contents, and places the result in the <userdata>\.VirtualBox\Machines\<VM name> folder. Or at least it did so several years ago. Since VirtualBox v4.0.0 the equivalent file is the .vbox file, which is created in the "<userdata>\VirtualBox VMs\<VM name>" folder.