0

Ubuntu 14.04 is host and guest.

virtual-box is not working: "document is empty"
Location: '/home/daniel/.config/VirtualBox/VirtualBox.xml', line 1 (0), column 1.

/build/virtualbox-VDAABr/virtualbox-4.3.36-dfsg/src/VBox/Main/src-server/VirtualBoxImpl.cpp[536] (nsresult VirtualBox::init()).
NS_ERROR_FAILURE (0x80004005)
Interface : IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}

How can I fix this safely?

  • It should go without saying, but make a copy of your VM's disk before doing much of anything else, and also a copy of the suspected empty file /home/daniel/.config/VirtualBox/VirtualBox.xml – Charles Green Aug 23 '17 at 1:03
  • There is also a similar thread on this forum - this, or something similar, happens to VBox users on occasion. The VirtualBox forums may be more helpful for you than AskUbuntu. They will probably also prod you to use a much more recent version of VBox – Charles Green Aug 23 '17 at 1:10
  • You're right Charles Green. Could you tell me how to properly backup? Seems more complex than just copy/paste. Help appreciated. Thanks – Jena Aug 26 '17 at 0:21
  • The easiest way to backup a virtual machine file is to simply make a copy - they are oridinary(ish) files while the VM is not running. If you have a sufficiently large USB, you can make a backup copy there, and one in a different directory on your HDD as well. – Charles Green Aug 26 '17 at 1:56

Browse other questions tagged or ask your own question.