I haven't been able to find a good solution yet, I'm hoping that this can be solved by a pointer to a thread I have missed...
I have a VM built in Virtual PC, that used the Dynamically Expanding vhd format. I'd like to convert the .vhd file to a Dynamically Expanding vdi. I don't mind if this is a few steps, as long as the resulting VDI file can be re-compacted to take up the same space as the original vhd did on disk.
I found a tutorial for this before, but it took my 500mb vhd which was set for 64GB and expanded it to a 64GB .vdi file on the disk and I couldn't shrink it back, so I know there's something missing.
Convert Dynamic VHD to Dynamic VDI
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Re: Convert Dynamic VHD to Dynamic VDI
If your underlying guest is Windows, defrag your partitions, run sDelete to blank out the "free blocks" then do a clonehd. The reasons for this are discussed in my tutorial All about VDIs.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.