I've increased the size of my VDI using VBoxManage modifyhd myHDD.vdi --resize 50000but I can't make the guest recognize and use the new space.

GParted on guest (Linux Mint)

enter image description here

VirtualBox Manager on host (Windows 10)

enter image description here

  • Did you Oskar find out the reason? It seems I am experiencing same issue... – Maksim Luzik Aug 7 at 12:53

It looks like VirtualBox is seeing the increase in size (marked by the 48.83GB in your screenshot). The reason why your guest OS doesn't is because it hasn't been partitioned.

You'll have to boot your Guest OS using a bootdisk that has parted or Gparted and repartition the disk to include the unallocated "sectors" of the space you just added.

HowToGeek has an article that goes over how to do this in much greater detail. The section "Enlarge the Virtual Machine's Partition" uses a Windows Guest but the steps to accomplish are done via a GParted boot disk.

  • I followed the HowToGeek article but I don't have any unallocated space available. I see the same thing as in the gparted image I have in the question. i.imgur.com/wItfGOB.png – Oskar Persson Jun 15 '16 at 11:13

In case you are using snapshot, you need to get rid of those if you enlarged the base VDI.

But be warned it is not supported to enlarge snapshots and can actually corrupt your disks, especially when doing it on the base disk.

Be sure to make a backup of your VM if you care for it.

  • 1
    This does not really explain how to solve the authors problem – Ramhound Jun 18 '16 at 2:15
  • 1
    Actually ii will if there is indeed a snapshot. Deleting a snapshot merge the base disk and the diff disk together which means you will be able to see the size increase. – Max Dor Jun 19 '16 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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