I created a VM using Virtual Box, but I gave it 25 GB, and I had 15 GB free. So I deleted it, and soon, uninstalled Virtual Box, but when I open my filesystem's properties, it is full, I mean to say about 80% of it is still in use, and the vdi file isn't anywhere. How do I free it up?
2 Answers
By default your VirtualBox files should be located in $HOME/VirtualBox VMs/
so if you navigate there you should easily see if there are any remaining .vdi
files still in place.
If your files were in a non-default location try running the following in a Terminal window to find them:
find $HOME -iname *.vdi
And when you find the files you can manually delete them...
References:
-
I've tried that before asking that question, I think it damaged my filesystem, because it must've tried to allocate 25GB, while I had only 15 GB free.– NafeesFeb 25, 2016 at 10:28
-
-
-
ext4 is quite robust, it doesn't get damaged because of trying to allocate more space than it has available. Feb 26, 2016 at 7:37
-
Check this question to find what is using your disk space: askubuntu.com/questions/73160/… Feb 26, 2016 at 7:39
Uninstall VirtualBox:
sudo apt-get remove --purge virtualbox
Remove all settings:
sudo rm ~/.config/VirtualBox/ -Rf
df -h
show?