[Solved] convert .HDD to .VDI?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
chmedly
Posts: 2
Joined: 19. Nov 2013, 05:53

[Solved] convert .HDD to .VDI?

Post by chmedly »

I've searched and searched and have not been able to come up with a definitive answer. I somehow ended up with a pretty small .HDD file for a particular virtual box machine and I want to increase the capacity. Ideally I would like to convert it to an expanding .VDI file. Can this be done?
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: convert .HDD to .VDI?

Post by socratis »

HDD files are typical of a Parallels VM. Have you tried to Google for "parallels to virtualbox conversion"? Also, read the manual, section 5.2.
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.
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: convert .HDD to .VDI?

Post by mpack »

I advise you to do some reading of the user manual. In particular learn about the various available container types, and note that none of them are dynamically expanding (all formats have a fixed capacity, the only difference is when that capacity is allocated).

You'll also find a discussion of "VBoxManage clonehd" in there, or you can use the GUI version under File|Virtual Media Manager|Copy.
chmedly
Posts: 2
Joined: 19. Nov 2013, 05:53

Re: convert .HDD to .VDI?

Post by chmedly »

Thanks! I did some more reading on this and I was able to accomplish what I needed. I recall trying to follow some instructions a few months ago but couldn't actually make it work. This time I used the graphical interface in VirtualBox to copy the hard drive file. Then I used the Modifyhd VBoxManage command to increase the file. Then I downloaded the Aomei free partition application in my Windows XP install in the virtual machine and expanded to fill the new file size. Was pretty easy over all.
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: [Solved] convert .HDD to .VDI?

Post by mpack »

I'm glad you worked it out, well done.
Post Reply