It was all working ok. The Linux guest was being accessed as a VMDK image.
One day last week, I decided to try making a snapshot in the GUI. The snapshot was taking a very, very long time (over 10 minutes and counting...) and I could not wait any longer, so I decided to hit the Cancel button before the snapshot was finished.
Now the Linux VM is broken. Whenever I try restarting the Linux guest, it always fails with the same fatal error:
Code: Select all
{hard disk} cannot be directly attached to the virtual machine because it has 1 differencing child hard disks.http://that-matt.com/2009/11/virtualbox ... ard-disks/
So, I deleted the Linux guest VM using the GUI, and recreated it in the GUI (using the "New" button).
Then I used the Virtual Media Manager to try to find the original Linux VMDK and attach it to the VM, but it could not find a VMDK at all! This is the only action I have taken to try to recover the VM - I have not used VBoxManage.
From the command-line, I searched for the original Linux VMDK file in my .VirtualBox directory. The only VMDK was a file inside the Snapshots subdirectory, and I'm not sure if it is safe to use it if it is incomplete (because I interrupted the snapshot process).
I read the manual completely, especially the sections on VMDKs and the command-line tool VBoxManage, but I still have no idea what to do.
I am asking for advice now, rather than experimenting any further and possibly making the situation irrecoverable.
Can anybody explain what has happened to the original Linux VMDK, how can I recover it, and how can I get my VBox working again?
Is taking a snapshot and canceling it midway something you're not meant to do?
Is the snapshot dialog's Cancel button dangerous to use?
Is it a bug?
I found somebody else apparently had the same problem when running a Windows guest under a Linux host, which is the opposite of my Windows host/Linux guest. They wrote a bug report which is open and unconfirmed for the last 4 months:
http://www.virtualbox.org/ticket/6877 "(Broken if cancel creation snapshot) - VirtualBox"
I would be grateful for any advice.
BobO