VirtualBox

Opened 11 years ago

Closed 11 years ago

#11502 closed defect (fixed)

VHDX: Required flag of metadata item does not meet expectations (VERR_VD_GEN_INVALID_HEADER). => fixed in SVN

Reported by: Dark Daskin Owned by:
Component: virtual disk Version: VirtualBox 4.2.6
Keywords: vhdx Cc:
Guest type: all Host type: Windows

Description

I have a VHDX file from Windows 8 Image Backup. When I try to add it to a virtual machine, I get the following error:

Не удалось открыть жёсткий диск H:\WindowsImageBackup\Main\Backup 2013-02-16 141330\697a862a-18d5-4746-99a4-0725bbd93c2d.vhdx.

Could not open the medium 'H:\WindowsImageBackup\Main\Backup 2013-02-16 141330\697a862a-18d5-4746-99a4-0725bbd93c2d.vhdx'.

VHDX: Required flag of metadata item does not meet expectations 'H:\WindowsImageBackup\Main\Backup 2013-02-16 141330\697a862a-18d5-4746-99a4-0725bbd93c2d.vhdx' (VERR_VD_GEN_INVALID_HEADER).

VHDX: Sector bitmap block at entry 4096 of image 'H:\WindowsImageBackup\Main\Backup 2013-02-16 141330\697a862a-18d5-4746-99a4-0725bbd93c2d.vhdx' marked as present, violation of the specification (VERR_VD_GEN_INVALID_HEADER).

VD: error VERR_VD_GEN_INVALID_HEADER opening image file 'H:\WindowsImageBackup\Main\Backup 2013-02-16 141330\697a862a-18d5-4746-99a4-0725bbd93c2d.vhdx' (VERR_VD_GEN_INVALID_HEADER).

Код ошибки: E_FAIL (0x80004005)
Компонент: Medium
Интерфейс: IMedium {29989373-b111-4654-8493-2e1176cba890}
Вызванный интерфейс: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2}
Код ошибки метода: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

A VHD image of same partition form Windows 7 Image Backup is added without problems and can be accessed by a host OS.

Change History (17)

comment:1 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: newclosed

Please reopen if still relevant with VBox 4.2.10.

comment:2 by emoxam, 11 years ago

4.2.12 vhdx created in windows 8's hyper-v doesn't add

comment:3 by J0rd4n, 11 years ago

Still error with version 4.2.12

Failed to open the hard disk D:\VM\Work_VM\Virtual Hard Disks\Work_VM.vhdx.

Could not open the medium 'D:\VM\Work_VM\Virtual Hard Disks\Work_VM.vhdx'.

VHDX: Required flag of metadata item does not meet expectations 'D:\VM\Work_VM\Virtual Hard Disks\Work_VM.vhdx' (VERR_VD_GEN_INVALID_HEADER).

VHDX: Mismatch between calculated number of BAT entries and region size (expected 268435448 got 1048576) for image 'D:\VM\Work_VM\Virtual Hard Disks\Work_VM.vhdx' (VERR_VD_GEN_INVALID_HEADER).

VD: error VERR_VD_GEN_INVALID_HEADER opening image file 'D:\VM\Work_VM\Virtual Hard Disks\Work_VM.vhdx' (VERR_VD_GEN_INVALID_HEADER).

Result Code: E_FAIL (0x80004005) Component: Medium Interface: IMedium {29989373-b111-4654-8493-2e1176cba890} Callee: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2} Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

Last edited 11 years ago by J0rd4n (previous) (diff)

comment:4 by aeichner, 11 years ago

Is it possible to get the images somehow? I need to have a look at them to figure out whats wrong.

comment:5 by emoxam, 11 years ago

http://s018.radikal.ru/i523/1305/97/28c122330193.png

Last edited 11 years ago by emoxam (previous) (diff)

comment:6 by aeichner, 11 years ago

I meant the VHDX disk image :)

comment:7 by emoxam, 11 years ago

write me an email emoxam[AT]ya.ru i'll give you a link

Version 0, edited 11 years ago by emoxam (next)

comment:9 by emoxam, 11 years ago

let me know when you finish download

comment:10 by aeichner, 11 years ago

Download completed, thanks!

comment:11 by emoxam, 11 years ago

Ok, let us know what with our bug:)

comment:12 by emoxam, 11 years ago

Hello, any news ?

comment:13 by aeichner, 11 years ago

Resolution: fixed
Status: closedreopened

Had a look at the image. The VHDX image does not comply to the specification publihed by Microsoft. I disabled the check which causes the error for now. The workaround will be part of next maintenance release. Btw. I missed that you try to attach the image directly to a VM. This will not work at the moment because the format is supported readonly only. You have to convert the image to another format with "VBoxManage clonehd ..." which supports writes.

comment:14 by emoxam, 11 years ago

It's what made me windows 8, believe me i didn't make it on my own :) Ok, i will convert it to vhd for virtualbox, thank you!

comment:15 by aeichner, 11 years ago

I never intended to say that you made it on your own, but either the spec is wrong or Microsoft dooesn't adhere to their own VHDX specification. ;) With the next maintenance version of VBox you should be able to convert the image to VHD too.

comment:16 by aeichner, 11 years ago

Summary: VHDX: Required flag of metadata item does not meet expectations (VERR_VD_GEN_INVALID_HEADER).VHDX: Required flag of metadata item does not meet expectations (VERR_VD_GEN_INVALID_HEADER). => fixed in SVN

comment:17 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: reopenedclosed

Fix is part of VBox 4.2.14.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use