суббота, 25 января 2014 г.

Change UUID VM image


$ VBoxManage showhdinfo E1_ENT_DSK_9133.vdi
UUID:                 51b69367-29aa-44ce-be69-028426efe938
Accessible:           no
Access Error:         UUID {826542ed-c388-4180-9332-29da73e52b66} of the medium '/home/xxx/E1_ENT_DSK_9133.vdi' does not match the value {51b69367-29aa-44ce-be69-028426efe938} stored in the media registry ('/home/xxx/.VirtualBox/VirtualBox.xml')
Logical size:         0 MBytes
Current size on disk: 0 MBytes
Type:                 immutable
Storage format:       VDI
Format variant:       dynamic default
Location:             /home/xxx/E1_ENT_DSK_9133.vdi

$ VBoxManage internalcommands sethduuid E1_ENT_DSK_9133.vdi 51b69367-29aa-44ce-be69-028426efe938
UUID changed to: 51b69367-29aa-44ce-be69-028426efe938

$ VBoxManage showhdinfo E1_ENT_DSK_9133.vdi
UUID:                 51b69367-29aa-44ce-be69-028426efe938
Accessible:           yes
Logical size:         20480 MBytes
Current size on disk: 10158 MBytes
Type:                 immutable
Storage format:       VDI
Format variant:       dynamic default
Location:             /home/xxx/E1_ENT_DSK_9133.vdi

Комментариев нет:

Отправить комментарий