How to uninstall VirtualBox Guest Additions on Linux?

I just update virtualbox and want to install new version Virtualbox Guest Additions because I have problems with access to shared folders. Before this I want to uninstall old version but… there is no switch or command to do this… After little research:

sudo find /etc -name “*vboxadd*” -exec rm {} \;
sudo find /etc -name “*vboxvfs*” -exec rm {} \;
sudo rm -r /usr/src/vboxadd-*
sudo rm -r /usr/src/vboxvfs-*
sudo rm /usr/sbin/vboxadd-timesync
sudo rm /lib/modules/`uname -r`/misc/vboxadd.ko
sudo rm /lib/modules/`uname -r`/misc/vboxvfs.ko

After this I install new version of Virtualbox Guest Additions and everything works ok.

Leave a Comment:

1 comment
sunilbansal says 9 January 2012

thanks
You Found More virtualbox

Reply
Add Your Reply