Page 1 of 1

Uninstall Guest Additions

Posted: 22. Mar 2008, 02:51
by Seeed
Hi there!
Is there a way to properly uninstall the Virtualbox Guest Additions?
Im running Ubuntu Gutsy.
I've already tried

Code: Select all

./VBoxLinuxAdditions.run uninstall
but it seems like there's no uninstall function. It gave me this message :

Code: Select all

The option uninstall is not known. You can use any of the following options:
all           -- install all components of the Guest Additions
  kernel-module -- only install the core components in the Linux kernel
  vfs-module    -- install the shared folder component
  timesync      -- install the time synchronisation component
  x11           -- install guest drivers for the X Window System
Is there a uninstall-script or some other way to uninstall the Guest Additions in Linux?
Thanks in advance!
Seeed

Posted: 22. Mar 2008, 14:25
by eiffel56
Hello,

the VirtualBox Guest Additions installation script does not provide that functio at the moment. But you can deactivate the additions. Just be sure that all vboxadd* modules will not be loaded during startup, and remove vboxvideo and vboxmouse from your X configuration.

Posted: 11. Jul 2008, 22:33
by riobard
could someone write a script to do this? I cannot figure out what other stuff to remove ... like /dev/vboxadd?? :(

Posted: 11. Jul 2008, 23:27
by TerryE
On my ubuntu installs the only vbox files relate to VBox. You need to check this on your system but almost certainly you could boot into init 1 mode and do

Code: Select all

PATH=$PATH:/usr/bin
tar -czf /home/<<youraccount>>/vboxBackup.tgz `find / -name "*[Vv][Bb]ox*"`
find / -name "*[Vv][Bb]ox*` -exec rm {} \;
After a week or so when you are convinced that you not removed anything that you didn't want to then you could always trash the tarBall.

Posted: 12. Jul 2008, 00:47
by Sasquatch
This topic does not belong here, this is Linux Host, not Linux Guest. There is also an other topic going in the Linux Guest forum with the same issue: http://forums.virtualbox.org/viewtopic.php?t=7839
Please continue there.

This will be locked now.