Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

It's said that VirtualBox's VBoxManage modifyhd --resize command can only be used on either VDI or VHD files. Sadly, I have a VirtualBox image that is in VMDK format, and I don't know how to convert it to those other two formats.

share|improve this question
    
Is clonehd not an option for you? –  rozcietrzewiacz Aug 15 '11 at 11:31
    
If it converts to VDI, it is. –  Tshepang Aug 15 '11 at 11:32
add comment

1 Answer

up vote 7 down vote accepted

You can use a two-step procedure then - first, use the clonehd command to create a VDI image:

VBoxManage clonehd aaaa.vmdk --format VDI aaaa.vdi

(Have a look also at other options to clonehd, like --variant. To read the help, just run VBoxManage | less).

Once you have the .vdi file, you can proceed with your modifications.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.