Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use virtualBox version 4.2.6 and I install windows server 2008. the issue is when I was working with this windows a message is displayed said that the capacity of disk is limited. so I want to know if there is a method to increase the disk size. thank

share|improve this question
    
i try this method : VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB but it doesn't work –  Ellouze Anis Jan 31 '13 at 14:18
2  
please provide the error message you get when you attempt to resize the disk –  Steve Jan 31 '13 at 14:21
    
0%... Progress state: VBOX_E_NOT_SUPPORTED VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet! –  Ellouze Anis Jan 31 '13 at 14:59
    
I guess VM guest OS is not running –  jet Jan 31 '13 at 17:05

4 Answers 4

Resize of VDI is supported, but you can only make hard disks bigger. You tried:

VBoxManage.exe modifyhd "C:\Documents and Settings\User\VirtualBoxVMs\windows\windows.vdi" --resize 40

That means you try to make a 40 MB harddisk, your harddisk is bigger, though. Try:

VBoxManage.exe modifyhd "C:\Documents and Settings\user\VirtualBo x VMs\windows\windows.vdi" --resize 40000

This make new size 40 GB.

share|improve this answer

I know this is an old question but it just happened to me today and made me spent a lot of time searching for an answer, so I decided to post it here in case it happens to someone else.
I was going to add a comment to @justTryToHelp's answer but I don't have enough points to do so.

So, as stated by @Steve, disk as to be dynamic.
The "--resize" value must be set to [your_current_disk_size] + [space_to_add].
Ex.: You created a disk with 25GBs and you need additional 9GBs => (25 + 9) * 1024= 34816
cmd => VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize 34816


Hope this helps

EDIT
Don't forget to extend your disk in disk management.
Check this link for more information.

share|improve this answer

Your vdi format does not support resizing. Maybe you could try cloning it to a new, larger vdi, possibly with a format that does support resizing. Have a look at the clonehd option of VBoxManage here http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevdi

Then you can use the new, larger vdi in your virtual machine.

share|improve this answer

It looks like what ever type of file format the disk is stored in does not support resizing using the tool

Resize hard disk operation for this format is not implemented yet!

If the disk was set to Fixed and not dynamic that is probably the issue.

share|improve this answer
    
the disk is set to dynamic –  Ellouze Anis Jan 31 '13 at 15:37
    
can you paste the full command you are running. –  Steve Jan 31 '13 at 15:49
    
VBoxManage.exe modifyhd "C:\Documents and Settings\user\VirtualBo x VMs\windows\windows.vdi" --resize 40 0%... Progress state: VBOX_E_NOT_SUPPORTED VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet! –  Ellouze Anis Jan 31 '13 at 16:11

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.