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

22,695

Solution 1

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

Solution 2

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

Share:
22,695

Related videos on Youtube

Benjamin Kemker
Author by

Benjamin Kemker

Updated on September 18, 2022

Comments

  • Benjamin Kemker
    Benjamin Kemker almost 2 years

    Guest additions iso is mounted. The next logical step is to run:

    sudo ./VBoxAdditions.run
    

    Then it shows:

    sudo: ./VBoxAdditions.run: command not found
    

    This is getting irritating as I've read countless threads and followed the "correct" methods. I've tried on two different vboxes, one 32 and one 64.