4

I have moved a Centos 6 VM (used as a desktop) from Virtualbox to HyperV, and the performance is terrible. I have installed Linux Integration Services but this has hardly helped, so I would now like to try and remove Guest Additions.

The only documentation I have found involves inserting the VirtualBox virtual DVD and running:

sudo sh VBoxLinuxAdditions.run uninstall

But I think it's too late for that as I'm already on HyperV.

What are my options?

3
  • 2
    Find your version of vbox here and download the guest additions ISO file, mount it, and then run the command you listed in your post. – n8te May 3 '19 at 7:59
  • On a Windows install, you can just use add/remove programs to remove the guest additions. Can't you remove it the same way on linux? – LPChip May 3 '19 at 8:15
  • @n8te that worked, thanks. Can you add that as an answer, and then I'll accept it. – Rich May 3 '19 at 8:59
0

Since you can no longer insert the Virtualbox Guest Additions CD through the Virtualbox app, you can just download the ISO image from the official site, mount it, and then run the uninstall command from there.

  1. Go to download.virtualbox.org/virtualbox and find the link to the version of Virtualbox Geust Additions you have installed (for this example, we will be using version 6.0.0). Look for a file with a name similar to VBoxGuestAdditions_6.0.0.iso. Download it to your virtual machine.
  2. Create directory to mount your ISO by running the following:
    sudo mkdir /mnt/iso
  3. Run the following command to mount your ISO image to the directory you just created:
    sudo mount -t iso9660 -o loop ~/Downloads/VBoxGuestAdditions_6.0.0.iso /mnt/iso (or replace ~/Downloads/ with wherever you had downloaded your ISO file)
  4. The contents of your ISO will now be copied into /mnt/iso, so change directory into that and run:
    sudo sh VBoxLinuxAdditions.run uninstall
7

The Guest Additions package now includes an uninstaller, at least on Debian derivatives. Running the following completely removes vbox-guest-additions for me on Ubuntu Desktop 20.04:

vbox-uninstall-guest-additions
1
  • 1
    I moved a virtual machine to real hardware, and this worked for me. – Organic Marble Nov 17 '20 at 15:34
0

Step 1: You can find all VBOX files here "C:\Program Files\ldplayerbox".
Step 2: Just download the Unlocker app from here
Step 3: Run the Unlocker, and delete all "vbox" data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.