4

I am trying to install the virtual box guest additions and it mounts successfully on to Debian wheezy. When I open this mounted drive I see a message in nautilus in the top right saying

"the medium has been detected as unix software __________Open Autorun prompt"

When I click on that I get the message:

Cannot find the autorun program

1
  • please could you try to describe preciselyu what and how you're trying to doing things ? Commented Mar 24, 2014 at 9:24

3 Answers 3

19

Alternative: Install the guest additions from the official Debian repository. That way, they'll be updated whenever you run a system update:

sudo apt-get install virtualbox-guest-x11 

Update:

If this package can't be found, edit your /etc/apt/sources.list and replace main with main contrib non-free, then run sudo apt-get update and run the install command. Of course, this can also be done using graphical tools.

Also, as mentioned in the comments section, dkms may have to be installed as well.

3
  • 1
    +1 yay! This works on Debian 8 as well!! (I sent several unsuccessful hours trying to get this to work). For this to work for me, I also ran: sudo apt-get dkms and I had also updated my /etc/apt/sources.list file to include the other Debian repositories (i.e. editing each Debian-related line from main to instead say -> main contrib non-free) Commented May 17, 2015 at 3:51
  • Thank you user2533809, I have added this to my answer. Looks like the package is in the non-free archive. Commented May 19, 2015 at 9:44
  • sudo apt-get dkms should be sudo apt-get install dkms Commented Nov 9, 2015 at 12:14
3

open a terminal

su
cd /mount/yourcd
./VBoxLinuxAdditions.run

The problem you faced is that there's no autorun on the CD and it's a very good thing, because autoruns can be dangerous.

0
3
  1. Login as root (issue su at a terminal or sudo);
  2. Update your APT database with apt-get update;
  3. Install the latest security updates with apt-get upgrade;
  4. Install required packages with apt-get install build-essential module-assistant;
  5. Configure your system for building kernel modules by running m-a prepare;
  6. Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
  7. Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.
1
  • It's really helpful. I've installed Debian 8.6 without any problem. Commented Jan 13, 2017 at 8:02

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.