Error when trying to compact virtual hard disk

This is for discussing general topics about how to use VirtualBox.
Post Reply
emil78
Posts: 112
Joined: 15. Jun 2012, 11:28

Error when trying to compact virtual hard disk

Post by emil78 »

I have Windows 7 x64 and when i tried to compact the kali linux virtual hard disk i get error message:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd --compact "e:\Virtual Machines\Kali-Linux-2016.2-vbox-amd64\Kali-Linux-2016.2-vbox-amd64-disk1.vmdk"
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Compact medium operation for this format is not implemented yet!
What this error mean?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Error when trying to compact virtual hard disk

Post by scottgus1 »

Looks like it means what it says. See the last line?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error when trying to compact virtual hard disk

Post by Perryg »

It means that it does not work for anything other than VDI files at this time.
http://www.virtualbox.org/manual/ch08.h ... -modifyvdi
Post Reply