GMOD in a Box/Resizing a VirtualBox Disk

From GMOD
Revision as of 20:31, 11 December 2013 by Scott (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For GMOD in a Box before 2.05

To resize the data disk in GiaB 2.04, we have to change the type of disk it is, since the one that shipped with 2.04 doesn't support resizing (after 2.04, we changed to the type that supported resizing). To change the type, Identify the file for the data disk on the host machine; for 2.04, it is probably "GMOD in a Box 2.04-disk2.vmdk". Run this command on that file:

 VBoxManage clonehd GMOD\ in\ a\ Box\ 2.04-disk2.vmdk GMOD\ in\ a\ Box\ 2.05-data-disk.vdi --format VDI --variant Standard

This creates a VDI file that we can resize.

For Resizing a VDI file

To resize, run this command on the host machine on the disk that you want to resize:

 VBoxManage modifyhd GMOD\ in\ a\ Box\ 2.05-data-disk.vdi --resize 10000

where the "10000" is the number of megabytes of the resized disk (so this is approximately 10GB). Now you can continue with adding this disk to the GMOD in a Box instance.