Page 1 of 1

Cannot add VirtualBox after removing it - HELP

Posted: 25. May 2019, 18:36
by --syso--
Hello everyone,

I use VirtualBox 6.0.4 on Win 10 (Intel i7) and work on an Ubuntu client.
Unfortunately I removed the VM (right click > remove > remove only).
Now I cannot add it anymore.
I copied the VM folder to have a backup.
When trying to add the original one I get this error message:
Failed to open virtual machine located in C:/Users/user123/VirtualBox VMs/Ubuntu 2/Ubuntu 2.vbox.""

A differencing image of snapshot {2f462fb2-511e-48e2-abbf-ccc70424403b} could not be found. Could not find an open hard disk with UUID {802701e4-e1ab-403e-ad32-9b65e79d09ae}.

Result Code: E_FAIL (0x80004005)
Component: SnapshotMachine
Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}
Callee: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
The VM has a second virtual drive attached to it and multiple snapshots.
I really need this VM back.
I upgraded VirtualBox to 6.0.8.

I tried to attach the secondary drive to another Ubuntu VM but the state seems to be an old one.
Does VirtualBox also store the deltas of the secondary drives in the snapshots?

Thanks for any help in advance.

Re: Cannot add VirtualBox after removing it - HELP

Posted: 28. May 2019, 03:15
by socratis
--syso-- wrote:I copied the VM folder to have a backup.
--syso-- wrote:The VM has a second virtual drive attached to it and multiple snapshots.
You need to restore the whole VM folder. And the multiple snapshots and the 2nd hard drive really don't help with a clean backup/restore plan.

I would like to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Explorer".
  2. ZIP the selected ".vbox" file and attach it to your response.