Hi,
Can someone explain to me what is the difference between VDI and OVF file for VirtualBox? I know that they are both types of files for setting a virtual machine. I downloaded a VDI file for one machine and then a OVF file for another machine. For me they seem to be the same. The only difference is how you upload them to VirtualBox. With OVF file you have to use "Import" and with VDI you choose "New" from the menu.
But is there any important difference between them? Something that can cause trouble for me later if I choose to use only one file type ( for ex. VDI)?
Thanks for any help.
VDI and OVF file - what is the difference?
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VDI and OVF file - what is the difference?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
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: VDI and OVF file - what is the difference?
This is apples and oranges. You can't perfectly recover a VM from either an OVF or a VDI. Both are just part of their corresponding file sets, and it's important that you think of the complete file set as the VM, and not mentally label some files as unimportant.
The OVF file is part of a VM appliance file set (specifically, the descriptor part). This describes a VM in such a way that (hopefully) makes it portable between VM platforms (VMWare, VirtualBox, etc). Since you presumably won't be using these other VM platforms, OVF will be irrelevant to you.
VDI is the native virtual disk format in VirtualBox. It is one file in a VirtualBox VM folder, but the file which actually describes the VM is the .vbox file. Put another way, VDI is the disk drive while the .vbox file is the motherboard.
The OVF file is part of a VM appliance file set (specifically, the descriptor part). This describes a VM in such a way that (hopefully) makes it portable between VM platforms (VMWare, VirtualBox, etc). Since you presumably won't be using these other VM platforms, OVF will be irrelevant to you.
VDI is the native virtual disk format in VirtualBox. It is one file in a VirtualBox VM folder, but the file which actually describes the VM is the .vbox file. Put another way, VDI is the disk drive while the .vbox file is the motherboard.
Re: VDI and OVF file - what is the difference?
Yes, I only plan to use VirtualBox, so VDI file should be enough for me.Since you presumably won't be using these other VM platforms, OVF will be irrelevant to you.
Thanks for your answers, it now explained me the case. So I need only VDI files. Thanks again.
-
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: VDI and OVF file - what is the difference?
You need an entire VM file set, which in the VirtualBox case includes the VDI, yes. A disk drive on its own does not equal a PC.lukasz21 wrote:Thanks for your answers, it now explained me the case. So I need only VDI files. Thanks again.