Convert Virtualbox Image To Iso

Convert

The ISO file is a widely used Disk file format for installing different bootable operating systems. Although you can use directly the ISO file to boot any OS on VirtualBox, HyperV or VMware Workstations, however, in case you don’t want to first boot & install ISO file to convert it to VDI or VDMK (virtual hard drives) format. You can use the pre-conversion method. Yes, this is the method in which we directly convert the ISO image file (.iso) into VDI (virtual disk image) format using VirtualBox. Not only to VDI but also using the same VBOXmanage tools of VirtualBox the user can convert the ISO image file to VDMK or VHD. It is also very useful to convert and use other format Virtual Disks in different Virtual Machines.

How can I convert a virtual image into.iso file for a physical machine? I have created one virtualbox VM with Centos OS and different collection of software where integrated for distributed.

For example, we can convert

  • In case you would like to first create raw uncompressed image of format.img, here is how to do it. VBoxManage clonehd –format RAW ubuntu.vdi ubuntu.img NOTE: When you do convert a.vdi to a.img, The format.img file is uncompressed vdi and it will be the maximum size that you set your.vdi to grow up to, maximum size it can grow up to.
  • The ISO file is a widely used Disk file format for installing different bootable operating systems. Although you can use directly the ISO file to boot any OS on VirtualBox, HyperV or VMware Workstations, however, in case you don’t want to first boot & install ISO file to convert it to VDI or VDMK (virtual hard drives) format.

Convert Vdi To Iso

  • VDI to VDMK
  • VDMK to VDI
  • VDH to VDMK
  • VDMK to VHD
  • VDI to VHD

Open Iso File With Virtualbox

After the conversion of ISO image to VDI, the user can directly boot the OS to install it converted VDI or VDMK format for admin or testing purposes.

Here we are using the command line tool on Windows 10 but the commands given here are same for Mac and Linux systems too.

So, to start the conversion first of all the VirtualBox should be installed on the system to use the VBoxManage command line too. We are assuming that you have the VirtualBox software which is free and open source (FOSS) virtual machine creator tool.

Convert ISO to VDMK

  1. Find the command prompt for Windows and if you are using the Mac 0r Linux then open your respective command line tool.
  2. Run the Command prompt under the administrative right.
  3. Now, In Windows, we need to switch to the Virtualbox directory to run the commands; which is available under C:Program FilesOracleVirtualBox. So the command is:
  4. Once you under the directory of VirtualBox, we can run the ISO to VDMK conversion command.
  5. Assuming that you successfully switched the directory, now the command is
    • Note: The filename should be replaced with the name of the ISO file along with the complete file path.
  6. So, in our case, the ISO file was under the Download folder and the name of the file was miniubuntu.iso. So, the command was in this form.
  7. The above command file path should be your file path where the ISO file resides. For more information see the screenshot

Convert Virtualbox Image To Iso File


To find the Path file you can also use the Windows Explorer

Right click on the Address bar and select the Edit address option.

You will get the path of the folder where your ISO image resides.

Convert ISO to VDI

  1. Just like the ISO to VDMK.
  2. Run the Command prompt under the Administrative privilege
  3. Switch to the VirtualBox directory as we have done above.
  4. Type the same command which is VirtualBox convertfromraw filename.ISO filename.VDI
  5. The only change is the instead of writing VDMK extension write the .VDI extension

Same for VHD.

If you want to convert VDI to VDMK/VHD or VDMK to VDI or VHD to VDI/VDMK then use the same above command just instead. For example: To convert VDI to VDMK, the command will be

VBoxManage Convertfromraw C:USersRajDownlaodsxyz.VDI C:UsersRajDownlaodsxyz.VDMK

In the same for other files too you can use the VBoxManage tool for Virtual Hard disk images to convert.

Other Tutorials: