Changes

Jump to: navigation, search

VirtualBox Extending Disk Size

1,183 bytes added, 15:56, 4 June 2012
Created page with "{{InfoBoxTop}} {{Applies_To_DVDK}} {{InfoBoxBottom}} == Resize a VirtualBox HD partition == The '''virtual''' disk drive included in the DVDK has a default size that should ..."
{{InfoBoxTop}}
{{Applies_To_DVDK}}
{{InfoBoxBottom}}

== Resize a VirtualBox HD partition ==

The '''virtual''' disk drive included in the DVDK has a default size that should fit well for typical development tasks. Anyway, in some particular situations, you could run out of free space on the virtual machine. If you have enough free space on your '''physical''' hard drive, you can extend the '''virtual''' drive size by using the following commands:

<pre>
VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
</pre>

For example, you can run

<pre>
VBoxManage modifyhd NELK.vdi --resize 20000
</pre>

to extend the standard NELK DVDK disk size from 16 GB to 20 GB. Please note that this command doesn't automatically extend the partition size. In order to do that, you need to modify the disk partition table. But since the virtual disk contains the root partition, you can't edit the partition table, because you can do such an operation only on a un-mounted device. So you need to start the virtual machine with a Live Linux distribution (for example, [http://gparted.sourceforge.net/download.php Gparted]) and launch the partition tool and modify the partition structure.
customer
235
edits

Navigation menu