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 run Windows 7 inside VirtualBox.

I resized the disk of Windows 7 from 25 GB to 50 GB:

VBoxManage modifyhd Windows\ 7\ Pro.vdi --resize 50000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

VirtualBox size

PROBLEM: I can' grow the partition, neither with Windows 7 itself nor with GParted:

Disk management

GParted

It looks like VirtualBox does not tell the client OS about the new size.
What additional step is necessary?

share|improve this question
    
there shouldn't be anything else required, although I have had better luck with gparted than right in windows. does your VM with that disk have any snapshots? resizing does not support disks with snapshots. –  Ryan_S Sep 17 '12 at 21:12
add comment

1 Answer

up vote 6 down vote accepted

You can only resize disks if they are not part of a VM that uses snapshots.

If you are using snapshots, you can easily clone the state to a new VM and hard disk, and resize that one. VirtualBox 4 now supports cloning from the GUI, so it's super easy.

VBoxManage - modifyhd

Here's a helpful walk through of the whole process, Resize and Expand a Virtualbox Hard Drive and Media in 4 Steps

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.