2.1.0 Can't open VHD File (Vista x64 Host)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gmariani

2.1.0 Can't open VHD File (Vista x64 Host)

Post by gmariani »

Having trouble opening a VHD created with Virtual PC 2007 on Vista x64. The VHD has WinXP installed on it. Below is the error, any ideas?

Code: Select all

Could not open the hard disk '$path to vhd$'

VDI: invalid pre-header in '$path to vhd$'
(VERR_VD_VDI_INVALID_SIGNATURE).

VD: error opening image file '$path to vhd$'
(VERR_VD_VDI_INVALID_SIGNATURE).

Result Code: E_FAIL (0x80004005)
Component: hardDIsk2
Interface: IHardDisk2 {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
Callee: IVirtualBox {339abca2-f47a-4302-87f5-7bc324e6bbde}
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Some others just reported the same error in another topic. I suggested that they open a ticket on this. You can track tickets through the public Bugtracker. However you need to register for a wiki user account (this is different to a forum account sorry) and tif you want to raise or add to tickets.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
The MAZZTer
Volunteer
Posts: 129
Joined: 16. Sep 2008, 23:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Chromium OS, Windows
Location: Internet
Contact:

Post by The MAZZTer »

You can try converting the VHD to a raw disk image using qemu's qemu-img tool, and then converting that to a VDI using VBoxManage.

Of course depending on what you want it for that might be too much trouble.
Entegy
Posts: 160
Joined: 6. Sep 2008, 23:59
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 x64, XP SP3, Server 2008 R2, Fedora 13 x86/x64
Location: Montreal, Quebec, Canada

Post by Entegy »

It's a known bug affecting all versions (I think I can say that if I'm getting the exact same error on Windows, OS X, and Ubuntu hosts) yet VHDs existing in the media manager prior to upgrading to 2.1 will still work fine.
Post Reply