Guide to Expanding Oracle Virtualbox Drives
Andrew Bolster
Senior R&D Manager (Data Science) at Black Duck Software and Treasurer @ Bsides Belfast and NI OpenGovernment Network
The Idiot Proof Guide for Windows-host, *-guest setup. (Ubuntu in my case, and should work for any host)
-
Make sure you’re working with a VDI, not a VDMK (if not, File>Virtual Media Manager right-click, Copy)
-
Drop into a command line (on windows, press Win+R, type ‘cmd’) and navigate to the Virtualbox directory (won’t need to do this on *nix)
-
Execute
VBoxManage _path_to_your.vdi_ --resize _new_size_in_MB_
-
Download UBCD and mount it as a DVD to your VM
-
Boot into the live DVD (F12 -> c on Oracle Boot Screen)
-
Select ‘Parted Magic’, and open GParted once it boots
-
Manipulate and resize to your hearts content
-
Reboot and enjoy the space!