VirtualBox

Opened 13 years ago

Closed 13 years ago

Last modified 5 weeks 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 (22)

comment:1 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

Please reopen if still relevant with VBox 4.2.10.

comment:2 by emoxam, 13 years ago

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

comment:3 by J0rd4n, 13 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 13 years ago by J0rd4n (previous) (diff)

comment:4 by aeichner, 13 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, 13 years ago

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

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

comment:6 by aeichner, 13 years ago

I meant the VHDX disk image :)

comment:7 by emoxam, 13 years ago

one moment

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

comment:9 by emoxam, 13 years ago

let me know when you finish download

comment:10 by aeichner, 13 years ago

Download completed, thanks!

comment:11 by emoxam, 13 years ago

Ok, let us know what with our bug:)

comment:12 by emoxam, 13 years ago

Hello, any news ?

comment:13 by aeichner, 13 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, 13 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, 13 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, 13 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, 13 years ago

Resolution: fixed
Status: reopenedclosed

Fix is part of VBox 4.2.14.

in reply to:  16 ; comment:18 by boingstained, 5 months ago

Replying to Geometry Dash aeichner: Running a 32-bit host on a 64-bit Atom CPU definitely used to trip up VirtualBox’s hardware virtualization layer.

in reply to:  18 ; comment:19 by hneidernigel, 4 months ago

Replying to Among Us Online aeichner: A short time ago, I was faced with the VERR_VD_GEN_INVALID_HEADER error during the process of mounting a VHDX file to VirtualBox; therefore, I considered it to be pretty significant to go through this article. Identifying the problem with the metadata gives one the right to think that the backup file is not corrupted. The "fixed" data makes me feel much safer dealing with the old images.

in reply to:  19 comment:20 by lutzlayer, 3 months ago

Replying to hneidernigel:

Replying to Geometry Dash aeichner: Thanks for explaination!

comment:21 by josev, 2 months ago

La escena independiente ha demostrado una vez más que la innovación y la creatividad no dependen necesariamente de presupuestos millonarios. Los juegos seleccionados este año ofrecen mecánicas profundas y narrativas que desafían los estándares de la industria tradicional. Para los jugadores que buscan un trato más exclusivo y opciones personalizadas, la sección VIP del casino https://mexico-pin-up.mx/casino/vip ofrece un nivel de servicio superior. Seguiremos atentos a cómo estos pequeños estudios continúan transformando el panorama digital en los próximos meses.

comment:22 by daniel976, 5 weeks ago

This error occurs because the VHDX file is incompatible or has an incorrect header structure with older versions of VirtualBox, fun games, but this has been fixed in newer updates.

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette