How to remove configuration files of Virtual Box from Ubuntu 16.04
Matthew Martinez
I installed virtual box in ubuntu 16.04 desktop and wanted to run TrueOS in it. I must have made some mistake while installing TrueOS in the virtual box and it did not run.
So I uninstalled/ removed Virtual box and installed it again but it again showed TrueOS as being installed instead of a fresh install.
Upon searching, I came to know that VB keeps some configuration files etc in the HOME directory and they have to be removed. However, on opening the home directory to show hidden files also, I could not find any such file or folder.
Could someone enlighten me about the method to remove these files so that a totally fresh install can be made. The hidden files in my home folder are : .adobe .cache .compiz .config .gconf .gimp2.8 .gnupg .local .macromedia .mozilla .pki .thumbnails .thunderbird
I am the only user and automatically the administrator.
42 Answers
VirtualBox saves virtual machines in VirtualBox VMs directory inside your home directory. Check ~/VirtualBox VMs and /root/VirtualBox VMs to find virtual machine configuration file.
The proper way to remove previous VM's is:
- start
Virtualbox - select the settings profile for TrueOS
- click the
Discardicon - go to the
Filemenu and chooseVirtual Media Manager - select the
TrueOS.vdifile to be removed - click the
Removeicon - approve deleting all of the files associated with that VM