Opened 12 years ago
Closed 10 years ago
#11735 closed defect (obsolete)
Failed to open a session for the virtual machine centos.
Reported by: | tcflorea | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.2.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
The guest used to work without issues for long time. Today, when starting the following message appeared: Failed to open a session for the virtual machine centos.
No error info.
Result Code: E_FAIL (0x80004005) Component: ProgressProxy Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913} Dynamically allocated storage
Storage-> Controler: SATA controler-> centos.vdi cannot be read: Could not open medium 'C:\path\to\centos.vdi'. VDI: Invalid header in 'C:\path\to\centos.vdi' (VERR_VD_VDI_INVALID_HEADER). VD:error VERR_VD_VDI_INVALID_HEADER opening image file 'C:\path\to\centos.vdi' (VERR_VD_VDI_INVALID_HEADER).
On the Information about .vdi says "Detalis: Dynamically allocated storage". This was been created as "Fixed Size storage" and I have no clue why is now dinamically.
more info added:
C:\Program Files\Oracle VM VirtualBox>VBoxManage.exe showhdinfo 102e9375-3e5f-41 d9-a06a-7679e7db4133 UUID: 102e9375-3e5f-41d9-a06a-7679e7db4133 Accessible: no Access Error: Could not open the medium 'C:\path\to\centos.vdi'. VDI: invalid header in 'C:\path\to\centos.vdi' (VERR_VD _VDI_INVALID_HEADER). VD: error VERR_VD_VDI_INVALID_HEADER opening image file 'C:\path\to\centos.vdi' (VERR_VD_VDI_INVALID_HEADER) Logical size: 0 MBytes Current size on disk: 0 MBytes Type: normal (base) Storage format: VDI Format variant: dynamic default Location: C:\path\to\centos.vdi
C:\Program Files\Oracle VM VirtualBox>VBoxManage.exe modifyhd 102e9375-3e5f-41d9 -a06a-7679e7db4133 --resize 65536 VBoxManage.exe: error: Could not open the medium 'C:\path\to\centos.vdi'. VBoxManage.exe: error: VDI: invalid header in 'C:\path\to\centos.vdi' (VERR_VD_VDI_INVALID_HEADER). VBoxManage.exe: error: VD: error VERR_VD_VDI_INVALID_HEADER opening image file ' C:\path\to\centos.vdi' (VERR_VD_VDI_INVALID_HEADER) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Medium, inte rface IMedium, callee IUnknown VBoxManage.exe: error: Context: "Resize(cbResize, progress.asOutParam())" at lin e 539 of file VBoxManageDisk.cpp
At this point the application crashes and Windows is tirelessly checking for solution.