install VirtualBox Guest Additions & mount shared folders

To use Guest Additions on a VirtualBox VM you need to install Guest Additions from the VBoxGuestAdditions.iso.

On Ubuntu/Debian, you should install additional system tools first if you don’t already have then:

apt-get update
apt-get install dkms build-essential linux-headers-$(uname -r)

First use the VB app to set up the share and then “insert” the virtual CD via the VB storage settings menu drop-down, then:

mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run --nox11

run

mount | grep vbox

to verify the share path, etc.

Leave a Reply