14/12/2018

Virtualbox Does not match UUID

VM sistemi mi çalıştırmak istediğimde şöyle bir hata aldım.

Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 'C:\Users\can\VirtualBox VMs\Winserver2016 Datacenter\Snapshots\{6b423c3e-47a0-4b0e-a054-6059bedd3aa5}.vhd' does not match UUID {8575610c-960f-4c67-9153-44677e79e201} of its parent medium stored in the media registry ('C:\Users\can\.VirtualBox\VirtualBox.xml').

Neyse sinir bozucu bu saçma sorunun giderilmesi aşağıda ki gibiymiş.

PS C:\WINDOWS\system32> cd '..\..\Program Files\Oracle\VirtualBox\'
PS C:\Program Files\Oracle\VirtualBox> .\VBoxManage.exe internalcommands dumphdinfo D:\Centos_VM\Winserver2016_Datacente
r.vhd
--- Dumping VD Disk, Images=1
Dumping VD image "D:\Centos_VM\Winserver2016_Datacenter.vhd" (Backend=VHD)
Header: Geometry PCHS=25700/16/255 LCHS=0/0/0 cbSector=512
Header: uuidCreation={8575610c-960f-4c67-9153-44677e79e201}
Header: uuidParent={00000000-0000-0000-0000-000000000000}

Burada önemli olan uuidCreation değeri.

Sonra Snapshot in değerine bakıyoruz.

PS C:\Program Files\Oracle\VirtualBox> .\VBoxManage.exe internalcommands dumphdinfo "C:\Users\can\VirtualBox VMs\Winserv
er2016 Datacenter\Snapshots\{6b423c3e-47a0-4b0e-a054-6059bedd3aa5}.vhd"
--- Dumping VD Disk, Images=1
Dumping VD image "C:\Users\can\VirtualBox VMs\Winserver2016 Datacenter\Snapshots\{6b423c3e-47a0-4b0e-a054-6059bedd3aa5}.vhd" (Backend=VHD)
Header: Geometry PCHS=25700/16/255 LCHS=0/0/0 cbSector=512
Header: uuidCreation={6b423c3e-47a0-4b0e-a054-6059bedd3aa5}
Header: uuidParent={00000000-0000-0000-0000-000000000000}

İkisini karşılaştırınca snapshot in UUidCreation  değerlerinin kaynağını göstermediğini görüyoruz.

PS C:\Program Files\Oracle\VirtualBox> .\VBoxManage.exe internalcommands sethdparentuuid "C:\Users\can\VirtualBox VMs\Wi
nserver2016 Datacenter\Snapshots\{6b423c3e-47a0-4b0e-a054-6059bedd3aa5}.vhd" "{8575610c-960f-4c67-9153-44677e79e201}"
UUID changed to: 8575610c-960f-4c67-9153-44677e79e201

Bu komutlada hızla düzeltiyoruz.

]]>

Leave a Reply