Sudo apt-get install -y build-essential linux-headers-`uname -r`
Install dependencies for VirtualBox guest additions sudo apt-get update Sudo mount -t iso9660 /dev/cdrom /media/cdrom Use the following command to mount the CD sudo mkdir /media/cdrom Once your VM is up and running, go to Devices -> Insert Guest Additions CD image Make sure that Read-only and Auto-mount are unchecked and Mount point is blank. On Add Share prompt, select the Folder Path in your host that you want to be accessible inside your VM. You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).īut if you want to do it the way I did then please feel free to use my setup above.