Fusion Developer

Converting .vdi to .img file

This is a quick guide to convert .vdi (VirtualBox) files to .img files and how you convert .img files to .vdi (VirtualBox) files.

To convert a .vdi file to a .img file, you can use these easy steps:

.vdi to .img

Windows

  1. Open up command prompt (click start, then type/click run)
  2. Issue the following command:
       VBoxManage clonehd <nameOfOriginalVDI>.vdi <nameOfNewImage>.img --format RAW
  3. Wait for the clone to finish, and presto! You have an image file.

Note:
When you do convert a .vdi to a .img, remember that the .img file will be the maximum size that you set your .vdi to grow to.
If VBoxManage is not recognized, navigate to the install directory of VirtualBox or add the install direction to your path.

Linux

The process for conversion is the same on Linux as on Windows.

.img to .vdi

Windows

  1. Open up command prompt (click start, then type/click run)
  2. Issue the following command:
       VBoxManage convertdd <nameOfOriginalImage>.img <nameOfNewVDI>.vdi
  3. Wait for the conversion process, and you once again have a lean, trim .vdi!

Note:
When converting a .img to a .vdi, the .vdi will shrink in size to accommodate the contents of the VM only.
If VBoxManage is not recognized, navigate to the install directory of VirtualBox or add the install direction to your path.

Linux

The process for conversion is the same on Linux as on Windows.

I hope this helps some of you out there in the deep, dark recesses of the blogosphere!

Kevin

« Previous post

16 ResponsesLeave one →

  1. Panchal Sagar

     /  2 April 2014

    I just want to to tell
    VBoxManage conehd .vdi .img –format RAW
    ^

    Reply
  2. suastika

     /  17 November 2014

    Can I run win xp on android with virtualbox? how?

    Reply
  3. Afzal Shahul Hameed

     /  24 March 2015

    Hello

    I can’t do it in my windows but instead get an “Raw: disk would overflow creating image ‘path/to/where/I/want/the/file/given_file_name.img’ ” error. Help me out please.

    Reply
  4. Johnny

     /  21 March 2016

    VBoxManage’ is not recognized as an internal or external command

    Reply
  5. eddie cingoranelli

     /  28 March 2017

    i converted windows95.vdi to windows95.img and win95.img. they both took 2gb’s from my hard drive but i cannot find the files on windows 10??

    Reply
  6. Parker Steinke

     /  18 February 2018

    Invalid Parameter “new name if IMG.img”

    Reply
  7. Achat Cialis Au Quebec Zithromax For Urinary Tract Infection viagra Viagra 48 Horas Buy Effexor Online Australia

    Reply
  8. nega

     /  7 October 2019

    it dont work

    Reply
  9. cynicalg

     /  7 November 2019

    HELP! I can’t do this! It tells me: VBoxMange.exe: Error: Cannot Register the hard disk ‘(Original Path to .vdi)’ {(UUID)} because a hard disk ‘(Destination Path .img)’ with UUID {UUID} already exists.
    If this helps:
    Windows 7 32-Bit VirtualBox Version 5.2.34
    Also tried on Windows 8.1 32-Bit V.5.2.34 and Windows 10 32-Bit V.6.0.14 and it still doesn’t work.

    Reply
  10. How get online newbie from $7717 per day: http://xuhuguwibe.ga/aqlih

     /  26 November 2019

    How to make money on the Internet from scratch from $9922 per day: http://arpresechin.tk/v6tim

    Reply
  11. READY EARNINGS ON THE INTERNET from $8935 per week: https://q2-get-2000usd-per-week-162.blogspot.dk?u=14

     /  10 December 2019

    Earnings on the Internet from $5681 per day: https://q2-get-1000usd-per-week-162.blogspot.nl?u=83

    Reply
  12. Mumbai (formerly called Bombay) is a densely populated city on India’s west coast. A financial center, it’s India’s largest city. On the Mumbai Harbour waterfront stands the iconic Gateway of India stone arch, built by the British Raj in 1924. Offshore, nearby Elephanta Island holds ancient cave temples dedicated to the Hindu god Shiva. The city’s also famous as the heart of the Bollywood film industry.

    Mumbai

    Mumbai (formerly called Bombay) is a densely populated city on India’s west coast. A financial center, it’s India’s largest city. On the Mumbai Harbour waterfront stands the iconic Gateway of India stone arch, built by the British Raj in 1924. Offshore, nearby Elephanta Island holds ancient cave temples dedicated to the Hindu god Shiva. The city’s also famous as the heart of the Bollywood film industry.

    Reply
  13. hello my friend Darrellbonry

    https://hub.silvesterreisen.biz/40.html

    hzruddwiqydtedy

    Reply

Leave a Reply

*