Hard Disk Space Lost

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Shakib
Posts: 1
Joined: 8. Oct 2016, 05:50

Hard Disk Space Lost

Post 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
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Hard Disk Space Lost

Post 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.
Bill
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Hard Disk Space Lost

Post 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.
Ludi
Posts: 4
Joined: 27. Jan 2022, 17:56

Re: Hard Disk Space Lost

Post 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.
Last edited by Ludi on 27. Jan 2022, 18:15, edited 1 time in total.
Ludi
Posts: 4
Joined: 27. Jan 2022, 17:56

Re: Hard Disk Space Lost

Post by Ludi »

And i don't find that folder.

Can someone help? thanks in advance
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Hard Disk Space Lost

Post 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 4707 times
Bill
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Hard Disk Space Lost

Post 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.
Ludi
Posts: 4
Joined: 27. Jan 2022, 17:56

Re: Hard Disk Space Lost

Post by Ludi »

Ok thanks i'll do it
Ludi
Posts: 4
Joined: 27. Jan 2022, 17:56

Re: Hard Disk Space Lost

Post 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?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Hard Disk Space Lost

Post by scottgus1 »

Ludi wrote:What tools?
Web-search...
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Hard Disk Space Lost

Post by fth0 »

For example WinDirStat and TreeSize Free.
Post Reply