Corrupted VDI header / corrupted VDI

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ordinaryBloke
Posts: 2
Joined: 3. Jan 2018, 17:03

Corrupted VDI header / corrupted VDI

Post by ordinaryBloke »

Hello everyone,

I was running a VM on a headless ubuntu server. The guest OS was SBS2011. There are issues with my NAS dying which then hung up the VM (backup drive is mounted on the server and inbound into the vm) and because of other circumstances I was unable to do a graceful shutdown of the OS, first I tried saving the state but after realizing that it also hanging up I decided to cancel the VBoxManage command and wanted to do turn it off using shutdown (not acpi, i tried that before and also didnt work) but it was already shut down. THen i performed a host reboot which then led to the VBox telling me the header was corrupted. I do have a backup of the VDI but its like 3 months old. It is the same size as the actual VM (I did not issue any changes to the dynamic max filesize). I read about being able to recover the header from a new VM but can I just copy the header of the old backup? I attached both headers and can upload the first 2098176 (or whatever) bytes of both images. How do I know if the rest of the VDI is corrupted? Thanks in advance,

Nico
Attachments
headers.zip
(442 Bytes) Downloaded 7 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Corrupted VDI header / corrupted VDI

Post by mpack »

Moved to Linux Hosts.

Have you tried running the latest CloneVDI on your VDI? Header repair is automated now. Copy the VDI to a Windows PC for repair, or run CloneVDI on a Linux host under Wine.

The files you provided are quite useless I'm afraid. I don't know what I'm supposed to tell from the first 72 bytes.
ordinaryBloke
Posts: 2
Joined: 3. Jan 2018, 17:03

Re: Corrupted VDI header / corrupted VDI

Post by ordinaryBloke »

I will try and do that. Heres the bytes until the 00000 start (cant upload because size restriction?) :

backup

Code: Select all

00000000   3C 3C 3C 20 4F 72 61 63 6C 65 20 56 4D 20 56 69   <<< Oracle VM Vi
00000010   72 74 75 61 6C 42 6F 78 20 44 69 73 6B 20 49 6D   rtualBox Disk Im
00000020   61 67 65 20 3E 3E 3E 0A 00 00 00 00 00 00 00 00   age >>>.........
00000030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000040   7F 10 DA BE 01 00 01 00 90 01 00 00 01 00 00 00   ................
00000050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000A0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000B0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000C0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000D0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000E0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000000F0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000100   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000110   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000120   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000130   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000140   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000150   00 00 00 00 00 00 10 00 00 00 40 00 00 00 00 00   ..........@.....
00000160   00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00   ................
00000170   00 00 00 7C 92 00 00 00 00 00 10 00 00 00 00 00   ...|............
00000180   C0 27 09 00 78 CF 07 00 39 A0 AC D5 3C E0 AA 44   .'..x...9...<..D
00000190   99 D7 5B 6F E5 F3 6E F8 34 8F C5 5B DC 8B 46 4F   ..[o..n.4..[..FO
000001A0   B2 3D 41 8B D8 51 4B 30 00 00 00 00 00 00 00 00   .=A..QK0........
000001B0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000001C0   00 00 00 00 00 00 00 00 C9 2A 01 00 FF 00 00 00   .........*......
000001D0   3F 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00   ?...............
000001E0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000001F0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
corrupted

Code: Select all

00000000   3C 3C 3C 20 4F 72 61 63 6C 65 20 56 4D 20 56 69   <<< Oracle VM Vi
00000010   72 74 75 61 6C 42 6F 78 20 44 69 73 6B 20 49 6D   rtualBox Disk Im
00000020   61 67 65 20 3E 3E 3E 0A 00 00 00 00 00 00 00 00   age >>>.........
00000030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00000040   7F 10 DA BE 01 00 01 00 90 01 00 00 01 00 00 00   ................
00000050   20 00 00 D8 F0 7F 00 00 90 00 00 00 00 00 00 00    ...............
00000060   B0 5E 9F 00 00 00 00 00 50 B1 55 DB F0 7F 00 00   .^......P.U.....
00000070   30 7D 01 D8 F0 7F 00 00 00 C6 3F E6 F0 7F 00 00   0}........?.....
00000080   98 D0 00 FF F0 7F 00 00 00 01 55 DB F0 7F 00 00   ..........U.....
00000090   90 00 00 00 00 00 00 00 B0 C0 00 E0 F0 7F 00 00   ................
000000A0   30 7D 01 D8 F0 7F 00 00 30 C6 3F E6 F0 7F 00 00   0}......0.?.....
000000B0   77 28 7B E6 F0 7F 00 00 00 00 00 00 00 00 00 00   w({.............
000000C0   60 C6 3F E6 F0 7F 00 00 50 A6 43 DB F0 7F 00 00   `.?.....P.C.....
000000D0   80 0D 6A 6A ED 7F 00 00 50 C6 3F E6 F0 7F 00 00   ..jj....P.?.....
000000E0   16 33 8F FF F0 7F 00 00 00 00 00 00 00 00 00 00   .3..............
000000F0   50 A5 43 DB F0 7F 00 00 80 A5 43 DB F0 7F 00 00   P.C.......C.....
00000100   05 00 00 00 00 00 00 00 D0 C6 3F E6 F0 7F 00 00   ..........?.....
00000110   D0 4F 04 FF F0 7F 00 00 90 C6 3F E6 F0 7F 00 00   .O........?.....
00000120   21 75 8D E6 F0 7F 00 00 50 A6 43 DB F0 7F 00 00   !u......P.C.....
00000130   E0 C6 3F E6 F0 7F 00 00 D0 C6 3F E6 F0 7F 00 00   ..?.......?.....
00000140   00 4F B2 69 43 7F 43 E2 00 00 00 00 00 00 00 00   .O.iC.C.........
00000150   20 A5 43 DB F0 7F 00 00 00 00 00 00 00 00 00 00    .C.............
00000160   E8 A0 43 DB F0 7F 00 00 30 7D 01 D8 F0 7F 00 00   ..C.....0}......
00000170   D0 9B 43 DB F0 7F 00 00 00 C7 3F E6 F0 7F 00 00   ..C.......?.....
00000180   2E 3F 59 BA F0 7F 00 00 80 0D 6A 6A ED 7F 00 00   .?Y.......jj....
00000190   00 4F B2 69 43 7F 43 E2 7A D0 C4 69 80 9B C5 4B   .O.iC.C.z..i...K
000001A0   C0 A2 43 DB F0 7F 00 00 70 C7 3F E6 F0 7F 00 00   ..C.....p.?.....
000001B0   E6 92 06 C0 F0 7F 00 00 00 00 00 00 00 00 00 00   ................
000001C0   00 00 00 00 00 00 00 00 C9 2A 01 00 FF 00 00 00   .........*......
000001D0   3F 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00   ?...............
000001E0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
000001F0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
Last edited by socratis on 3. Jan 2018, 22:13, edited 2 times in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Post Reply