"ERROR: Invalid MBR found on image with signature 0xC033"
result from ltrace:
VDRead(0x1438500, 510, 0x7fff970f666e, 2, 1 <unfinished ...>
SYS_lseek(4, 0, 0) = 0
SYS_read(4, "3\300", 2) = 2
<... VDRead resumed> ) = 0
fwrite("\nERROR: ", 1, 8, 0x7f13e6606860 <unfinished ...>
SYS_write(2, "\nERROR: ", 8
ERROR: ) = 8
<... fwrite resumed> ) = 8
vfprintf(0x7f13e6606860, "Invalid MBR found on image with "..., 0x7fff970f6510 <unfinished ...>
SYS_write(2, "Invalid MBR found on image with "..., 48Invalid MBR found on image with signature 0xC033) = 48
Problem is inside VDRead. Function is called with correct argument - offset 510, but seek is set to 0 and read() read first two bytes from image, not signature at offset 510

For VDI images work fine. I have ubuntu 10.04. Tested with ose and nonfree version of VirtualBox.
Thanks for help
