How to uninstall Guest Additions in Ubuntu guest?
How to uninstall Guest Additions in Ubuntu guest?
I installed Guest Additions in Ubuntu guest. Now I copied the Ubuntu guest to a real harddisk and used it on a separate machine, so I no longer need the Guest Additions. How do I uninstall it? Thanks in advance!
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
I tried --help option but it does not say anything about uninstallation
here is what I got:
-------------------------------------------------
Makeself version 2.1.4
1) Getting help or info about ./VBoxLinuxAdditions.run :
./VBoxLinuxAdditions.run --help Print this message
./VBoxLinuxAdditions.run --info Print embedded info : title, default target directory, embedded script ...
./VBoxLinuxAdditions.run --lsm Print embedded lsm entry (or no LSM)
./VBoxLinuxAdditions.run --list Print the list of files in the archive
./VBoxLinuxAdditions.run --check Checks integrity of the archive
2) Running ./VBoxLinuxAdditions.run :
./VBoxLinuxAdditions.run [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
here is what I got:
-------------------------------------------------
Makeself version 2.1.4
1) Getting help or info about ./VBoxLinuxAdditions.run :
./VBoxLinuxAdditions.run --help Print this message
./VBoxLinuxAdditions.run --info Print embedded info : title, default target directory, embedded script ...
./VBoxLinuxAdditions.run --lsm Print embedded lsm entry (or no LSM)
./VBoxLinuxAdditions.run --list Print the list of files in the archive
./VBoxLinuxAdditions.run --check Checks integrity of the archive
2) Running ./VBoxLinuxAdditions.run :
./VBoxLinuxAdditions.run [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
-
- 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
All I know is that after a kernel upgrade you need to reinstall the GA if you want to have most things working again, like shared folders. That takes my assumption that it only installs a few kernel modules. A 'find' or 'locate' should give you some idea of where any virtualbox files might be and you can then remove them. Do not forget to modify your xorg.conf file if you haven't done so already for your mouse and video driver (video has to be, else you wouldn't have X).
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.
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.
-
- 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:
You are correct in that their isn't a proper remove utility but the vbox device drivers and the ubuntu forum give simple instructions on how to remove them.
You also need to remove the /etc/rc1.d/ entries. After the reboot, I think that you'll find all vbox entries are related to VirtualBox and can be removed
You also need to remove the /etc/rc1.d/ entries. After the reboot, I think that you'll find all vbox entries are related to VirtualBox and can be removed
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
Problem solved
I tried the following lines and it turned out to be OK now. Thanks guys for your help!
A little explanation:
1. All vboxadd* entries belongs to Guest Additions
2. All vboxvfs* entries are related to Shared Folder feature which is also part of Guest Additions
Code: Select all
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
1. All vboxadd* entries belongs to Guest Additions
2. All vboxvfs* entries are related to Shared Folder feature which is also part of Guest Additions
-
- Posts: 1
- Joined: 27. May 2011, 12:26
- Primary OS: MS Windows 7
- VBox Version: OSE Debian
- Guest OSses: Ubuntu 11.04
Re: How to uninstall Guest Additions in Ubuntu guest?
for everyone how ends up here by googleing this matter:
/opt/[VboxAddonsFolder]/uninstall.sh
/opt/[VboxAddonsFolder]/uninstall.sh
Re: How to uninstall Guest Additions in Ubuntu guest?
Thanks!!!!TheBigKahoona wrote:for everyone how ends up here by googleing this matter:
/opt/[VboxAddonsFolder]/uninstall.sh
-
- Posts: 1
- Joined: 21. Sep 2015, 17:56
Re: How to uninstall Guest Additions in Ubuntu guest?
Besides the unistall
I also had to remove /etc/X11/xorg.conf/opt/[VboxAddonsFolder]/uninstall.sh
Re: How to uninstall Guest Additions in Ubuntu guest?
Doing both the uninstall.sh and removing the xorg.conf file :Jack@flowertown wrote:Besides the unistallI also had to remove /etc/X11/xorg.conf/opt/[VboxAddonsFolder]/uninstall.sh
This solution Worked for me!
-
- Posts: 1
- Joined: 24. Mar 2016, 22:53
Re: How to uninstall Guest Additions in Ubuntu guest?
On an Ubuntu host that is not a VM, do:
aptitude purge virtualbox-guest-utils virtualbox-guest-x11
That stopped the messages for me.
aptitude purge virtualbox-guest-utils virtualbox-guest-x11
That stopped the messages for me.
Re: How to uninstall Guest Additions in Ubuntu guest?
Folks,virtualbox-guest-remover wrote:On an Ubuntu host that is not a VM, do:
aptitude purge virtualbox-guest-utils virtualbox-guest-x11
That stopped the messages for me.
Thank you, thank you, thank you. This line , aptitude purge virtualbox-guest-utils virtualbox-guest-x11, removed the startup texts that plagued me each time I logged in. However, I have no idea what I did when I entered the line in the terminal.
Being slow I need an entry level step by step how to before I can get this kind of good stuff stuck in my gray matter. So I want to thank the person who added the post. Should I need help in the future I will heed this users posts.
God bless you.
Re: How to uninstall Guest Additions in Ubuntu guest?
Hello all,
On fedora 26 I was missing /opt/[VirtualBoxAddons version] (deleted previously by hand) directory, so I did the following:
find / -iname "*vbox*" -exec rm -rf {} \;
and I needed:
dnf install elfutils-libelf-devel-static-0.169-1.fc26.x86_64
In order to re-install the new addons
On fedora 26 I was missing /opt/[VirtualBoxAddons version] (deleted previously by hand) directory, so I did the following:
find / -iname "*vbox*" -exec rm -rf {} \;
and I needed:
dnf install elfutils-libelf-devel-static-0.169-1.fc26.x86_64
In order to re-install the new addons
Re: How to uninstall Guest Additions in Ubuntu guest?
You are the real hero. Thank you.TheBigKahoona wrote:for everyone how ends up here by googleing this matter:
/opt/[VboxAddonsFolder]/uninstall.sh