Uninstall Guest Additions

Discussions related to using VirtualBox on Linux hosts.

Uninstall Guest Additions

Postby Seeed » 22. Mar 2008, 02:51

Hi there!
Is there a way to properly uninstall the Virtualbox Guest Additions?
Im running Ubuntu Gutsy.
I've already tried
Code: Select all   Expand viewCollapse view
./VBoxLinuxAdditions.run uninstall

but it seems like there's no uninstall function. It gave me this message :
Code: Select all   Expand viewCollapse view
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
Seeed
 
Posts: 1
Joined: 22. Mar 2008, 02:38

Postby eiffel56 » 22. Mar 2008, 14:25

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

Postby riobard » 11. Jul 2008, 22:33

could someone write a script to do this? I cannot figure out what other stuff to remove ... like /dev/vboxadd?? :(
riobard
 
Posts: 7
Joined: 10. Jul 2008, 23:07

Postby TerryE » 11. Jul 2008, 23:27

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   Expand viewCollapse view
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.
TerryE
Volunteer
 
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS

Postby Sasquatch » 12. Jul 2008, 00:47

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 24 guests