mpack wrote:
Is VirtualBox.xml the only thing you deleted? Or did you delete your entire .VirtualBox folder? The first might be recoverable - with difficulty. The second is not recoverable without backups. A possible solution would involve creating a new VM with an organisation similar to the old VM, then manually edit the VirtualBox.xml file to make the new VM reference your old files instead of the new ones.
I delete the only VirualBox.xml. It happened case my VirtualBox didn't start with some errors where mentioned my previous VirualBox.xml and all attempts to fix it using reinstall wheren't succesfull. I used to work with vmware workstation, so i though there is nothing critical if i just delete that xml file. It was really stupid idea
I'm still have the entire of .VirtualBox folder, with the two main folder HardDisks and Machines. I added the line describing my previous VM into the new VirtualBox.xml with the right GUID(got it from VM.xml). But when i started the app, it said my VM isn't acceccible becase there is a link to dvd iso image (showed me GUID of that image) wich couldn't be found under the repositary section in the VirtualBox.xml. I made a backup copy of my VM.xml and deleted any lines with that link in the VM.xml (no link - no trouble), restarted the Box and was shocked that there are no any lines with the links to my snapshots in the VirtualBox.xml but they are in the VM.xml.
So as i understood the VirtualBox.xml it's a central information file where mentioned all my Vms, all vdi used, all snapshots and dvd iso images.
Actually it's good to me to get back one of my VMs with linear chain of snapshots.
And of course i checked the Trash folder. The problem is my host is Debian and i used rm command to delete my sweety VirtualBox.xml.