September 21, 2019

Virtualbox: VM does not start after creating a snapshot. EFail (0x80004005)

when using vhd disks and you create a snapshot, the virtual machine won’t boot.
An error occurs while starting the vm:

In this case the manager for virtual medias shows an error that the parent UUID of the snapshot file does not matches the UUID of parent medium stored in the media registry

This can be fixed .Get the UUID of the parent disk

start a cmd.exe with Administrator permissions, navigate to the folder where VirtualBox is installed :
And set the UID by this command:
cd: C:\Program Files\Oracle\VirtualBox
VBoxManage.exe internalcommands sethdparentuuid "C:\Users\xuantam\VirtualBox VMs\WS2012\Snapshots/{fdb43062-bb79-4467-85d3-b40f802aca55}.vhd" {a840d5e6-e13f-4e3f-826d-d46fc41efc6f}

From now on your VM should start as expected, also new snapshots are possible.

0 comments:

Post a Comment