Uninstall the VirtualBox guest addition on CentOS 7?
Open a terminal and enter the following commands:
cd /media
cd VBOXADDITIONS_4.1.12_77218
sudo sh VBoxLinuxAdditions.run uninstall
This should uninstall vbox guest-additions
PS Please do some research on your own for next time because I found answer to your question through simply googling your question title Here I found answer to your question
Hazman Firmanshah
Hi, I'm new to this platform, trying my best to learn about programming, Linux operating system, Unix operating system, virtualization. I am an intern and currently having internship in a vendor company and also a third year student in my university studying computer network engineering which I don't really know what I have gain throughout my studies. Pardon my english and lack of technical knowledge. Feel free to correct me, and I hope I will learn a lot on this platform.
Updated on September 18, 2022Comments
-
Hazman Firmanshah over 1 year
I'm trying to uninstall the VirtualBox guest addition for a CentOS virtual machine.
How do I do so?
-
Hazman Firmanshah almost 6 yearsThank you sir for correcting me, I will try to improve my writing.
-
-
Gian Gomen almost 5 yearsIn adittion, to direclty open the terminal in the location where GuestAdittion is installed, just right click on the folder located in media/username/ghestadittion and select 'Open in Terminal'. Then just run 'sudo sh VBoxLinuxAdditions.run uninstall'
-
daya almost 5 years@Gian Gomen Sure :)
-
Jonathan over 4 yearsUnfortunately, this solution does not work if the host system is Windows 10 because VBoxLinuxAdditions is not present.
-
daya over 4 years@Jonathan Host OS doesn't really matter here, VBoxLinuxAdditions will be present in
/media
only when you click on Devices > Insert Guest Additions Image -
Samir about 4 years@GianGomen that's not an installation path. That's a mount point for removable media. What you describe is how to open the the
/media
path in Terminal from the file manager. This is an alternative to having to open the Terminal first and then docd /media
. -
Samir about 4 years@Jonathan that statement is illogical. The VBoxLinuxAdditions.run is a Linux executable and will be present on the Guest Additions ISO file which you have to insert for the Linux guest system to see and read it. The host system is irrelevant, it can be Linux or Windows. And of course, VBoxLinuxAdditions.run will not run on a Windows guest system if that's what you imply, as it is a Linux executable and not a Windows executable.
-
Samir about 4 years@daya correct! It will be present only after inserting the ISO file on which it is contained, and as I said already, it's meant to be consumed by a Linux guest system, so the guest system is what matters, host system is irrelevant.
-
Samir about 4 yearsReplace the
/media
with/run
if you're on Fedora 31. Also,uninstall
is not a valid option. Where did you get that from? The linked blog post? Take note that it's "Published April 26, 2012". I did this today using Guest Additions ISO of VirtualBox 6.0.10 and when you runsudo sh VBoxLinuxAdditions.run
(with or withoutuninstall
because that's not an option) you will get a long text warning you of existing Guest Additions and telling you to uninstall it using the uninstall procedure of the operating system which on Fedora isrpm -e virtualbox-guest-additions-6.0.12-1.fc31.x86_64
. -
Samir about 4 years@Jonathan this is why I know that having Windows as the host is irrelevant. I did this today with Windows 10 as host and Fedora 31 as guest system.