Valentyn
Valentyn

Reputation: 612

How to fix an error "Resize medium operation for this format is not implemented yet"?

I'm trying to increase disk size of my vmdk-file. Command line:

VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi

Cloned.vdi has been created successfully (45.2Gb). But then I'm writing:

VBoxManage modifyhd "cloned.vdi" --resize 60200

And get an error

Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize medium operation for this format is not implemented yet!

Ok, I'm opening my VM VirtualBox Machine Setting -> Storage -> Adds hard disk -> Cloned.VDI.

On the right in the information section I have: Type(format): Normal (VMDK). It's ok? How to fix this error? I have free 110Gb of ROM on my disk

Upvotes: 19

Views: 50647

Answers (3)

Omid Mohebbi
Omid Mohebbi

Reputation: 786

You need to do it like this:

  1. VBoxManage clonehd [old.vmdk] [new-VDI]
  2. VBoxManage modifyhd [new-VDI] --resize [60000]
  3. VBoxManage clonehd [new-VDI] [newnew-VDI] --variant Fixed

Upvotes: 21

Ramandeep Singh
Ramandeep Singh

Reputation: 91

@omid answer is correct however if you already have virtual disk in .vdi format then you can still follow the three commands plus you have to go to virtual box->VM settings->storage->click on VM.vdi

On right side, you will get disk icon, just click on it and browse your new VDI that has been created after resizing(new-VDI or newnew-VDI in above case).

Upvotes: 0

user4955663
user4955663

Reputation: 1071

Omid's answer is correct.

NOTE however that you can get pretty confusing "not supported for this version" error also in case your vdi-disk file has size 45GB on disk, but it is dynamic size disk with max size e.g. 80GB and your try to run

vboxmanage modifymedium vdi-disk-file-name --resize 60000

This is because you are actually trying to decrease the size, which virtualbox does not support for any format currently.

Upvotes: 10

Related Questions