Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using VirtualBox 4.0.8 with Windows 7 Enterprise 64 bit host and debian 6.0.1a amd64 guest (in CLI mode).

I installed Guest Additions and it seems to work, at least partially, as I have successfully setup a shared folder between host and guest.

However every time I boot the guest, I get the following messages on console:

Starting VirtualBox Guest Addition service ...done.
startpar: services(s) returned failure: vboxadd-service ... failed!

There is no additional error message in any of the logs (checked syslog and VBoxGuestAdditions.log)

Additionally, I'm unable to use shared clipboard between host and guest (it's set to bidirectional, but neither direction seems to work). I assume this might be related to the service start failure.

Any idea how to fix this?

share|improve this question

4 Answers 4

Make sure that you don't have the multiple copies of the Virtual Box Guest Additions installed. Squeeze will pick up that it is inside a Virtual Box virtual machine and install the 3.x OSE version of the tools automatically.

share|improve this answer
    
I searched for all installed packages via "aptitude search virtualbox", only "virtualbox-ose-guest-dkms" shows up as installed. That should be correct, right? –  András Szepesházi Jun 27 '11 at 12:25

Uninstall virtualbox-ose et all virtualbox Debian packages with: aptitude search virtualbox

Best regards!

share|improve this answer

After uninstalling the packages Debian automatically added for you, remove the services : cd /etc/init.d && insserv -r vboxadd vboxadd-service vbox-add-x11

This removed the startup services for me. However, the scripts are still there. If you want to remove them : cd /etc/init.d && rm vboxadd vboxadd-service vbox-add-x11

BTW: to uninstall the packages : dpkg -l | grep virtual. Then do apt-get remove --purge <list_of_the_packages>

In my case : apt-get remove --purge virtualbox-ose-guest-dkms virtualbox-ose-guest-utils virtualbox-ose-guest-x11 && apt-get autoremove && apt-get autoclean did the trick.

Also, for some reasons, I couldn't have the shared folder with Debian's guest additions. So I had to add the ones from Virtual Box. Add the Cd (should be host key + D, I'm running a french version can't tell the english labels). Then mount the cdrom and run the script with : mount /media/cdrom && bash /media/cdrom/VBoxLinuxAdditions.run.

share|improve this answer

If you run the /media/cdrom/VBoxLinuxAdditions.run then you'll have some startup scripts in /etc/init.d that doesn't come with Debian default package.

You should get rid of these: ls /etc/*/*vbox* (remove all rcX.d and init.d files with vbox in the filename).

Then install only the Debian package virtualbox-guest-dkms.

For example, using systemctl command, just after removing all traces of the CD-Rom install:

  • vboxadd-service.service not-found failed failed vboxadd-service.service
  • vboxadd.service not-found active exited vboxadd.service
  • virtualbox-guest-utils.service loaded active running LSB: VirtualBox Linux Additions
  • virtualbox-guest-x11.service loaded active exited LSB: VirtualBox Linux X11 Additions
  • virtualbox.service not-found active exited virtualbox.service

After restart:

  • virtualbox-guest-utils.service loaded active running LSB: VirtualBox Linux Additions
  • virtualbox-guest-x11.service loaded active exited LSB: VirtualBox Linux X11 Additions

And you're back on Debian's wonderful packages :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.