Page 1 of 1

how to uninstall guest additions

Posted: 15. Mar 2009, 11:18
by haytham2000
hi all

i installed wrongly the guest additions in host os (linux)

can i remove them?

using virtualbox ose 2.1.4 from here: http://adoldo.wordpress.com/2009/02/19/ ... -e-64-bit/

Re: how to uninstall guest additions

Posted: 15. Mar 2009, 17:22
by stefan.becker
Not at the moment. You can search for files like "vbox*" at /, delete them manually.

Re: how to uninstall guest additions

Posted: 15. Mar 2009, 19:16
by haytham2000
i searched "vbox" by: locate vbox, and found the files are located in:

/var/lib/dkms
/usr/src/

if i deleted them, would the virtualbox program be affected?

Re: how to uninstall guest additions

Posted: 16. Mar 2009, 01:25
by TerryE
The install process add the following files:
  • etc/udev/rules.d/60-vboxadd.rules
    etc/init.d/vboxadd
    etc/init.d/vboxadd-timesync
    usr/bin/VBoxRandR
    usr/bin/VBoxClient
    usr/bin/VBoxControl
    usr/sbin/vboxadd-timesync
    sbin/mount.vboxsf
    lib/modules/2.6.24-23-virtual/misc/vboxadd.ko
    lib/modules/2.6.24-23-virtual/misc/vboxvfs.ko
plus updating rules in lib/modules/2.6.24-23-virtual/modules.dep and the /usr/src/vbox* directory. It also uses modprobe to add vboxadd and vboxvfs to the driver list and it also adds start and stop entries to the /etc/rc.d directories. You need to do a modprobe -r to remove these drivers and then you can remove all the vbox files.

The one that has me a little confused is the /var/lib/dkms one. I suspect that this is Linux vendors OSE-additions entry.

Re: how to uninstall guest additions

Posted: 16. Mar 2009, 06:10
by haytham2000
ok thanks a lot

i also found this post
http://forums.virtualbox.org/viewtopic. ... ons#p50384

should i remove vboxdrv also (in usr/src)

also i wonder if virtualbox-ose-guest-utils and virtualbox-ose-guest-source (found in synaptic) be installed in guest or host os?
i guess these are the guest additions

Re: how to uninstall guest additions

Posted: 16. Mar 2009, 11:46
by TerryE
haytham2000 wrote:virtualbox-ose-guest-utils and virtualbox-ose-guest-source ... i guess these are the guest additions
These are the debian kits of the OSE GA provided by Ubuntu or whatever your distro is.