How to completely remove VirtualBox on Mac
You have been using VirtualBox, but you don’t need it anymore. Or you need free space as I did. Well, in that case you might want to remove VirtualBox from your Mac. Uninstalling is easy, drag-drop-done, right? Yes it is, but it won’t take long for you to figure something is wrong. Eventhough you removed VirtualBox, not much free space you got back. Next thing, you went to VirtualBox Forums and they told you to look for /Library/VirtualBox directory, or look for VDI files. However, damn, you could not find any?!? Well, welcome to the club :)
I had a similar issue and figured out that, after removal, VirtualBox doesn’t erase all files/folders created and also these files and folders are not visible on Finder. What you have to do is simple:
1. Open Terminal
2. Type cd /Users/<user_name>/Library
3. Type ls an see if VirtualBox directory is there (should be)
4. rm -rf VirtualBox
Now you should get the free space you deserve :)
















February 10th, 2009 at 0:31
Thanks – that was totally useful. I had to revert from the latest version of VirtualBox to an earlier one a was stuck.
April 16th, 2009 at 14:30
Do
lsbom /Library/Receipts/VirtualBoxCLI.pkg/Contents/Archive.bom
too. You need to remove those files.
June 2nd, 2009 at 18:41
Does that delete the partition that it made too?
June 19th, 2009 at 9:27
Very helpful. I had the same problem after running the uninstall script provided but this recovered the HDD space nicely.
June 27th, 2009 at 5:17
Dude thanks Max Howell. That was a sweet tip.
July 12th, 2009 at 18:28
Perhaps I’m a dunce, but to what do you refer by opening Terminal?
July 27th, 2009 at 20:04
Not even close. You need to remove a bunch of other directories and virtual device drivers. Just get the distributed image and run the provided uninstall script.
August 16th, 2009 at 20:01
If you installed the application from a package file such as *.dmg, then simply go to Application and drag the application to your Trash. You will be prompted to provide your admin password and that’s it. You can then remove any other custom shortcut you may have created on the Dock or other places.
August 16th, 2009 at 20:05
I should mention that above instruction than applies afterwords .. Usually uninstall would not remove any data file (such as those *.vdi) created by a specific program/Application.
August 26th, 2009 at 18:37
It’s not that simple. What about the kernel extensions?
114 2 0×35ffc000 0×1d000 0×1c000 org.virtualbox.kext.VBoxDrv (2.1.0)
115 0 0×2e5da000 0×7000 0×6000 org.virtualbox.kext.VBoxUSB (2.1.0)
116 0 0×2e56c000 0×4000 0×3000 org.virtualbox.kext.VBoxNetFlt (2.1.0)
December 1st, 2009 at 18:55
[...] Visto en | Kuneri bloggy [...]
December 11th, 2009 at 11:46
Just run the “VirtualBox_Uninstall.tool” that comes with the VirtualBox DMG file. Safer and you know it’ll all be removed as intended by the makers of the program… or you want to gamble and have stuff laying around and potentially give you problems or conflicts in future? Be Smart. ;)
February 13th, 2010 at 5:24
[...] the following LINK. [...]