User Tools

Site Tools


VirtualBox Resources

Ubuntu 14.04 VM

2015.11.26 by anthony


Increasing screen resolution

The VM originally had a 640×480 resolution, which is tiny.

Found several message board posts giving incorrect information. This one gave correct answer, although it includes a typo:

From the post, with the typo corrected (replaced dkms for dkmd).

We don't support the Ubuntu fork of the guest additions. 

I would suggest that you remove them and install the official 
ones from your VirtualBox.

Start the guest and install the following packages then click 
on the device tab and click insert guest additions.

    sudo apt-get install dkms build-essential linux-headers-generic

Adjusting size of VDI (virtual disk

Initially made an 8GB primary partition, which filled up after installing only a few things! Increased to 15GB resizing the VDI using the VirtualBox vboxmanage tools on the OSX command line, installing gparted on Ubuntu, deleting the swap partition, resizing the primary partition, and then recreating the same sized swap partition. So far so good.

Chose “dynamically allocated” storage option when I set up the VM, but I still don't understand or see any evidence of it adjusting itself.

Shared folders

This is the page the finally solved my problem:

  120  sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) acate /media/sf_acate
  121  dmesg | tail
  125  sudo updatedb
  127  locate mount.vboxsf
  128  ll `locate mount.vboxsf`
  134  cat /etc/modules
  135  echo `locate mount.vboxsf`
  136  ln -sf `locate mount.vboxsf` /sbin/mount.vboxsf
  137  sudo ln -sf `locate mount.vboxsf` /sbin/mount.vboxsf
  148  sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) acate /media/sf_acate
  154  mount
  158  cat /etc/fstab
  159  sudo pico /etc/fstab
  163  sudo pico /etc/modules

Changed permissions on shared folder


On 2015 Macbook Air laptop.

Permissions had always been root:root, which was very inconvenient. So Anthony set them to be anthony:anthony by changing /etc/fstab:

The relevant line now reads:

acate /media/sf_acate vboxsf uid=1000,gid=1000 0 1

(Reboot required after change).

Found instructions from these links:



Maintenance Notes

resources/pdf_document_resources/virtualbox_resources.txt · Last modified: 2019/05/22 16:08 (external edit)