Why does Virtual Box delete/hide my .vdi files?

1

I tried to to download and set up a virtual machine in virtual box with the Python Kivy vdi for creating kivy android apps with buildozer. My problem is that the default disk space on the vdi isn't that big (6 - 8 Gbit), so there is not enough space for me to install all the tools I need. When I tried to manually increase the disk size with this yt tutorial and this website I mentioned that the .dvi file was missing in my "VirtualBox VMs" folder. I don't know if the vdi file was deleted or is just hidden by virtual box.

Just in case: My host system is Windows 10

Many thanks in advance!

Frenggie

Posted 2019-06-14T13:40:18.420

Reputation: 13

If the .dvi file was deleted, how are we supposed to know how? – harrymc – 2019-06-14T13:55:09.087

Thats the problem... I don't have any more information for you because Virtual Box doesn't give me an Error message or sth like that. The VM boots as normal and there are no problems with the guest system itself. But I am not able to edit the .vdi file because it just disappears the moment I first boot the machine. Is this some kinda bug or intended by virtual box? – Frenggie – 2019-06-14T15:22:54.923

Is it possible that it is just in-use and locked? – harrymc – 2019-06-14T15:27:46.763

Nope... the vm is shut down. – Frenggie – 2019-06-14T15:52:03.567

What do you mean by "disappears"? Doesn't vboxmanage find it? – harrymc – 2019-06-14T15:56:15.030

I cannot find it via the explorer (I also tried to show the hidden files) and I cannot find it via VBoxManage.exe. – Frenggie – 2019-06-14T15:58:39.863

To modify the file I would have used the command: C:\Program Files\Oracle\VirtualBox> VBoxManage.exe modifymedium "C:\Users\uname\VirtualBox VMs\Linux\Linux.vdi" --resize 25000 – Frenggie – 2019-06-14T16:00:02.577

Look at the configuration file of the VM - the vdi file might be somewhere else. (Add to your comment @harrymc for me to be notified.) – harrymc – 2019-06-14T16:01:14.777

@harrymc Do you mean the logfiles of the VM or the configuration file of VirtualBox itself? – Frenggie – 2019-06-14T16:05:13.063

I mean the XML settings file that should have the .vbox file extension. I'm not using VirtualBox so don't have one on hand, but if you wish I can have a look at yours if you post it. – harrymc – 2019-06-14T16:10:03.007

Thank you very much! I've read myself through the .vbox file and found the place where the .vdi was. It's a bit weird... during my first installation I chose the .vdi from my downloads folder and it got copied into the VirtualBox Vms folder but now it's just using the .vdi file directly from my Downloads folder. I think that my problem is solved so far. Regards @harrymc ! – Frenggie – 2019-06-14T16:24:46.360

I tried to resume the comments below, so this post will have an answer. You may edit it any way you like. – harrymc – 2019-06-14T16:30:42.940

Answers

0

Resuming the comments on this post:

The vdi file seemed to be missing because it wasn't in the expected location.

In such a case, the best place to look for it is in the the XML settings file of the virtual machine, which has the .vbox file extension.

harrymc

Posted 2019-06-14T13:40:18.420

Reputation: 306 093