1 min read

How to resize VirtualBox virtual machine storage on OSX

I ran out of space on a VirtualBox Windows VM recently and needed to resize the virtual hard disk. I searched around and these are the steps that ultimately worked for me.

  1. Power down the VM.
  2. Open a terminal, and navigate to the directory in which the virtual machine’s disk (*.vdi file) resides.
  3. Execute this: VBoxManage modifyhd YOUR_HARD_DISK.vdi –resize SIZE_IN_MB
  4. Power up the VM.
  5. Right click on “Computer” and choose “Manage.” Go to “Storage,” right click on the volume, and choose “Extend Volume.” Follow the prompts to expand the partition to fill the newly-allocated space.

1.png 2.png

Troubleshooting:

← All posts