This blog describes several procedures related to Virtual PC / VirtualBox Hard Drives.
How to compact VHD files
- Follow this: http://helpdeskgeek.com/how-to/compact-virtual-pc-disk/
- or this:
- Defragment the disk of the guest machine.
- Run precompact.zip (it’ll zero out free space)
- Use Virtual Disk Assistant to reclaim space
Using Differencing Disks
Differencing works great when it comes to backing up these big files!
Resizing VHD
Resizing VDI
VDI files are hard drives for Virtual Box. To resize one:
- Create a second disk (VirtualBox Manager)
- Mount and reboot from clonezilla iso (G:\Internetdownloads\Utils\clonezilla\clonezilla-live-1.2.3-27.iso)
- Close from disk 0 to 1
- Release your old virtual drive and set your newer, bigger virtual drive as the primary hard disk
- Mount and reboot from gparted iso (G:\Internetdownloads\Utils\gparted\gparted-live-0.5.1-1.iso)
- Resize partition