Resize VirtualBox VM disk size

Published by burgerboydaddy on Sat, 02/16/2013 - 11:16


Uh, my development VM disk is full. During last update I received notice that it cannot be done because lack of space. I have 6GB disk only for Ubuntu (12.04) and it is full... Hm, previously I had idea that only Windows require so much disk space :-).

So how to re-size that disk; There are few steps involved in the process but can be done very fast.

Installing VirtualBox Guest Addition & mount shared folder

Published by burgerboydaddy on Fri, 11/30/2012 - 11:01


Step by step guide how to install VirtualBox guest addition and mount shared folder (Ubuntu 12.04)

1. Start the Ubuntu Server VM and insert the Guest Additions CD image (Devices menu, Install Guest Additions).
2. Install necessary build tools and build dependencies:

    $ sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)
3. Mount guest addition
    $ cd /opt
    $ mkdir cdrom
    $ mount /dev/cdrom /opt/cdrom
    $ cd cdrom
    $ ./