Page 1 of 1

Hard Disk Space Lost

Posted: 8. Oct 2016, 06:25
by Shakib
Dear Concern,
I recently installed VirtualBox in my laptop which runs windows 10. While installing virtualbox I allocated about 30gb space for creating virtaul hard disk. I installed Oracle Linux on that Virtual Disk. For some reason I had to remove the Oracle linux from that Virtual Disk. Unfortunately while removing Oracle linux I forgot to remove the storage space allocated.Now I have lost about 20gb space after this.

Is there any way to recover my lost disk space? Eagerly waiting for your reply.

Thank you.

Regards
Shakib

Re: Hard Disk Space Lost

Posted: 8. Oct 2016, 08:08
by BillG
Of course there is. Just find the virtual disk file and delete it. If you created it you should know what it was called.

Re: Hard Disk Space Lost

Posted: 8. Oct 2016, 09:52
by mpack
VM is not dual boot. A virtual machine's "drives" are just files on the host, not partitions that need special treatment. Normally when you unregister a VM VirtualBox asks you if you want to delete those physical files also. I guess you must have answered no. No matter, you can delete them manually.

You can find your VM folders in your C:\<user documents>\VirtualBox VMs\ folder. Each folder contains the file set for one VM.

Re: Hard Disk Space Lost

Posted: 27. Jan 2022, 18:05
by Ludi
I have same problem.
I uninstall app but I forgot to delete virtual machine and I lost about 50GB memory (in that virtual machine where i had allocated to).
I tryed to fix it but it's don't help.

Re: Hard Disk Space Lost

Posted: 27. Jan 2022, 18:10
by Ludi
And i don't find that folder.

Can someone help? thanks in advance

Re: Hard Disk Space Lost

Posted: 28. Jan 2022, 03:05
by BillG
There is nothing special about the vm files. As long as you can remember what you called the vm, just search your hard disk for that name. If you can't remember its name, search for a file with the extension .vdi . That should find the virtual hard disk, which will be most of that 50G. If that file is in a folder with the vm's name, delete the whole folder.The contents of the folder should look something like the attached screenshot.
VM files.png
VM files.png (17.67 KiB) Viewed 5116 times

Re: Hard Disk Space Lost

Posted: 28. Jan 2022, 11:08
by mpack
There are also free tools that let you identify the largest files on your PC. That would very quickly show you where the VDI files are.

Re: Hard Disk Space Lost

Posted: 31. Jan 2022, 13:18
by Ludi
Ok thanks i'll do it

Re: Hard Disk Space Lost

Posted: 31. Jan 2022, 13:18
by Ludi
mpack wrote:There are also free tools that let you identify the largest files on your PC. That would very quickly show you where the VDI files are.
What tools?

Re: Hard Disk Space Lost

Posted: 31. Jan 2022, 16:32
by scottgus1
Ludi wrote:What tools?
Web-search...

Re: Hard Disk Space Lost

Posted: 31. Jan 2022, 16:37
by fth0
For example WinDirStat and TreeSize Free.