Expanding virtual drive size virtual box [SOLVED]

Did a quick search in the forums for this topic but couldn't see anything.

So I set up a Win10 VM on Linux Mint in virtual box for some work related applications/email (Google via EM Client) for work and I made it the recommended 32gb I'm now finding that I need around 50gb to be comfortable as some of the files for the Take off software I'm using are a bit larger than first expected, I do have the application pointing to Google drive but the sync files are chewing up some space..

in doing some research on line there seems to be a few different opinions running around that it can and can't be done

before I explore the option of cloning the drive and messing around that way I was looking at doing it through the terminal I have been following this guide
HERE http://trivialproof.blogspot.com.au/2011/01/resizing-virtualbox-virtual-hard-disk.html

and I am getting the error Syntax error: Invalid parameter 'Work'

the file name of the .vdi is Win10 Work Install is the wording of the file name messing things up ? or am I completely messing things up ?

any advice from the awesome community would be great

Thanks in advance

I got it to work on my Ubuntu Gnome 16.04 LTS machine with the following command:

VBoxManage modifymedium disk <full path of vdi diskfile> --resize <total needed diskspace in mb>

Example:
VBoxManage modifymedium disk win_10_test.vdi --resize 40000

ok found my issue I had the drive set to fixed, quick fix was to clone with dynamic and the change the drive size

https://forums.virtualbox.org/viewtopic.php?f=35&t=50661

for reference

1 Like