Error: VDI: invalid pre-header in
Posted: 13. Jan 2020, 20:38
I am using Linux Mint 19.3, and VirtualBox version 6.0.14 r133895 (Qt5.9.5).
The Guest OS is Windows 10. I have been using this .vdi file for about 4 months. I only know enough about Virtualbox to be dangerous. I have been saving the state of my VM each time I shut it down.
Two days ago, I rebooted the computer while the VM was open. Now, I get this error when trying to start the VM:
------------------------------------------------------------------------
Failed to open a session for the virtual machine TomPC-VM.
Could not open the medium '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi'.
VDI: invalid pre-header in '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi' (VERR_VD_VDI_INVALID_HEADER).
VD: error VERR_VD_VDI_INVALID_HEADER opening image file '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi' (VERR_VD_VDI_INVALID_HEADER).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
------------------------------------------------------------------------
I have read that the pre-header can be modified. I have no idea how to do that on a Linux Host.
I see where mpack has helped others by asking them to send the first part of the file. I have no idea how that might be done on Linux OS.
Can someone help me with this issue?
Thanks.
The Guest OS is Windows 10. I have been using this .vdi file for about 4 months. I only know enough about Virtualbox to be dangerous. I have been saving the state of my VM each time I shut it down.
Two days ago, I rebooted the computer while the VM was open. Now, I get this error when trying to start the VM:
------------------------------------------------------------------------
Failed to open a session for the virtual machine TomPC-VM.
Could not open the medium '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi'.
VDI: invalid pre-header in '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi' (VERR_VD_VDI_INVALID_HEADER).
VD: error VERR_VD_VDI_INVALID_HEADER opening image file '/home/tom/mnt/MyBulkdata/backups/VM/TomPC/{66d6a110-f882-4d52-9f2f-49ad6300514d}.vdi' (VERR_VD_VDI_INVALID_HEADER).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
------------------------------------------------------------------------
I have read that the pre-header can be modified. I have no idea how to do that on a Linux Host.
I see where mpack has helped others by asking them to send the first part of the file. I have no idea how that might be done on Linux OS.
Can someone help me with this issue?
Thanks.