Uninstall Guest Additions

Discussions related to using VirtualBox on Linux hosts.
Locked
Seeed
Posts: 1
Joined: 22. Mar 2008, 02:38

Uninstall Guest Additions

Post 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
eiffel56
Volunteer
Posts: 100
Joined: 10. Oct 2007, 21:53

Post 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.
riobard
Posts: 7
Joined: 10. Jul 2008, 23:07

Post by riobard »

could someone write a script to do this? I cannot figure out what other stuff to remove ... like /dev/vboxadd?? :(
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Locked