who can help me with this error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
zh_zhang1984
Posts: 4
Joined: 12. Mar 2013, 13:51

who can help me with this error

Post 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!
Attachments
未命名.jpg
未命名.jpg (58.11 KiB) Viewed 1516 times
zh_zhang1984
Posts: 4
Joined: 12. Mar 2013, 13:51

Re: who can help me with this error

Post by zh_zhang1984 »

the "MIMIC2_VM_v1.xml" is attached as follows.
Attachments
MIMIC2_VM_v1.xml.xml
(13.58 KiB) Downloaded 41 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: who can help me with this error

Post 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.
zh_zhang1984
Posts: 4
Joined: 12. Mar 2013, 13:51

Re: who can help me with this error

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: who can help me with this error

Post 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.
Post Reply