Opened 15 years ago
Closed 12 years ago
#6877 closed defect (fixed)
Broken if cancel creation snapshot => fixed in SVN
Reported by: | Gerasev Andrew | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.2 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description
If cancel creation snapshot, then the configuration will remain in the record about the snapshot and virtual machine is broken.
Change History (6)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
I suspect that "fixing" the problem is quite easy: simply delete the (unattached!) differencing disk under the specified hard disk using the Virtual Media Manager. Untested, so create a backup before trying.
comment:3 by , 14 years ago
Thank you very much Klaus and MichalN too.
Summary:
- In the GUI, remove the existing guest VM,
- Create a new guest VM (click the New button),
- Use the wizard to set up the new VM (be careful, you should probably select Use existing image VMDK if VBox was accessing the guest via VMDK / raw partition),
- Change the Settings (it can be found under the Machine menu) per your requirements,
- Quit VBox,
- Restart VBox,
- Run the guest VM.
Do not do anything to VBox on the command-line; especially, do not edit the VBox XML files by hand and do not use VBoxManage. That's all!
comment:4 by , 14 years ago
Bug still occurs in VirtualBox 4.0.4. This was on a Gentoo Linux host with a Win7 guest, and whilst I didnt cancel the snapshotting, it auto-cancelled it due to lack of diskspace. Will following the workaround listed in the last commend by vcoder destroy the snapshots of the VM?
comment:5 by , 12 years ago
Summary: | Broken if cancel creation snapshot → Broken if cancel creation snapshot => fixed in SVN |
---|
After lots of debugging we could finally find the cause of this problem. A nasty issue which was very very hard to find.
Replying to gerasev:
I can confirm this bug also exists in VBox 3.2.8, but with a Linux guest under a Windows7 host and the Linux guest is accessed as a VMDK.
A clearer summary of how to reproduce the bug:
Possibly there is a way to recover VBox after this bug occurs, but I do not know how to do it and I did read the manual completely, especially the sections on VBoxManage and VMDKs.