Windows2012R2 VHD fails to start after Snapshot taken

Discussions about using Windows guests in VirtualBox.
Post Reply
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

I have Windows2012 R2 VHD trial installed under VBox 4.3.20 and it was working fine UNTIL I created a snapshot while the 2012 system was powered down. Now when I attempt to start it up I get the following error:

Failed to open a session for the virtual machine Win2012R2 via VHD.

No error info.

Result Code: E_FAIL (0x80004005)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}

The hard drive in settings refers to UUID not matching to the differential disk created for the snapshot. There is no way that I can see to actually copy this information into the windows clipboard.

I tried deleting the snapshot but was unable to however that process allowed me to copy the following error information:


Failed to delete the snapshot Before Windows Updates of the virtual machine Win2012R2 via VHD.

Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 'F:\.VirtualBox\Machines\Win2012R2 via VHD\Snapshots\{8d80a186-eda3-460a-90a6-1f056b60095f}.vhd' does not match UUID {883c6053-e08b-49f4-be8c-44358ca90ef9} of its parent medium stored in the media registry ('C:\Users\gregg/.VirtualBox\VirtualBox.xml').

Result Code: E_FAIL (0x80004005)
Component: Medium
Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac

There is a VirtualBox.xml and a VirtualBox.xml-prev file in the users .virtualbox directory

Is this error caused because I foolishly created a snapshot of what was a VHD file?
Last edited by pcguy on 11. Feb 2015, 20:31, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by Perryg »

Depends. How did you shut down?
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

Perryg wrote:Depends. How did you shut down?
I used the Windows2012 R2 normal shutdown command and only created the snapshot AFTER the Virtual machine window had closed down.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by Perryg »

What happens if you select to create the snapshot while the machine is running? I don't really do a lot with snapshots and if shutting it down first causes issues you should report it to bugtracker Being careful to explain very clearly.
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

The Windows2012 R2 virtual machine is dead. It will not start up period!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by Perryg »

In the main manager, does it show the snapshot and the original? Can you post a screen shot of the section?
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

Hopefully this is what you meant.
Attachments
Capture.GIF
Capture.GIF (91.28 KiB) Viewed 2669 times
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

Here are my Virtualbox.xml and the Win2012R2.vbox file
Attachments
VirtualBox.xml
(5.39 KiB) Downloaded 10 times
Win2012R2 via VHD .txt
(14.86 KiB) Downloaded 6 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by Perryg »

So if you dbl click on the Before Windows Update will it start?
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

Perryg wrote:So if you dbl click on the Before Windows Update will it start?
All double clicking on the snapshot does is allows you to rename the snapshot
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by pcguy »

I have decided to cut my losses and to wipe the virtualbox out and start all over again from scratch.
ToHoHo
Posts: 7
Joined: 18. Feb 2015, 18:48

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by ToHoHo »

Hi there, is there any solution for this issue? I have exactly the same problem. This issue is also described here
cchitsiang.blogspot.de/2013/09/virtualbox-tips-avoid-creating.html?_escaped_fragment_#!

and here
mcgrane.co.uk/Post/Parent-UUID-of-the-medium-does-not-match-UUID-of-its-parent

However, the SetVHDParentUUID tool did not work for me.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by mpack »

I will not go offsite to read about your or others problems, and I don't much trust a self assessment of "same problem" either. Please create a new topic and describe your own symptoms fully.
ToHoHo
Posts: 7
Joined: 18. Feb 2015, 18:48

Re: Windows2012R2 VHD fails to start after Snapshot taken

Post by ToHoHo »

Opend a new thread under the title

Cannot start VM of Windows 7 64bit after creating a snapshot

(Sorry for not providing a link but I am not allowed to post URLs yet)
Post Reply