I am using Ubuntu on VirtualBox and recently updated it, but after the update when I opened VirtualBox it got corrupted. Here is the picture of the runtime error it's showing.

runtime error it's showing (Click image to enlarge)


It means VirtualBox couldn't find the VM xml files (like ubuntu.xml). Make sure the file exists and is accessible.

| improve this answer | |
  • I searched the folder there's no such file like that. What do I do now? – Alfen May 17 '19 at 11:34
  • The xml file is the file that has all the config settings for the VM. If it's gone, your VM is gone. Your virtual hard drive may still be there so you can create a new machine that uses that hard drive - so you won't have lost your installation. However, see if the xml file is in a different place. Open VirtualBox and go do Preferences and see what the default location is for the VM folder. – Eric Mintz May 17 '19 at 11:39
  • So there's one file I found with the help of preferences and it is named as "VirtualBox.xml-prev". What do I do now? – Alfen May 17 '19 at 12:06
  • Rename it to VirtualBox.xml and see if that fixes the issue. – Eric Mintz May 17 '19 at 12:24
  • I made another machine on the same hardware, the XML method wasn't getting any better however I got all my data with a new machine. Thanks ALOT!!! – Alfen May 17 '19 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.