"Command not found" when running guest additions. xubuntu 14.04

Browse to your guest additions folder. It is in your /media/<username>/* folder. Here's a screenshot to that:

1

Now, type the command:

cd DRAG AND DROP THE VBOX GUEST ADDITIONS FOLDER HERE

Enter

Now, run

./VBoxAdditions.run

Enter

If there are any errors stating Permission Denied, then type:

sudo ./VBoxAdditions.run 

Enter


First of all, make sure your VM is prepared to make kernel modules. This is copy-paste friendly.

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential module-assistant
sudo m-a prepare

Loom for the CD name by running sudo ls /media/. It should show up as VBOXADDITIONS or something similar.

Then simply run

sudo sh /media/<<<CD NAME>>>/VBoxLinuxAdditions.run

or

sudo sh /media/<<<username>>>/<<<CD NAME>>>/VBoxLinuxAdditions.run