Ticket #7840 (closed defect: obsolete)

Opened 6 years ago

Last modified 12 months ago

Mounting valid(!) ISO image fails with VERR_VD_RAW_INVALID_HEADER

Reported by: paulus Owned by:
Priority: major Component: other
Version: VirtualBox 3.2.12 Keywords: iso,VERR_VD_RAW_INVALID_HEADER
Cc: Guest type: Windows
Host type: Windows

Description (last modified by frank) (diff)

Hi, I want to install Win98SE as guest OS. I have an original pristine Win98SE CD (no scratches). I checked the physical medium with IsoBuster 2.6, everything is OK. I succesfully extracted a raw ISO image with IsoBuster from the CD. I opened the Virtual Media Manager to 'Add' an ISO image. I get an error message: VERR_VD_RAW_INVALID_HEADER (see attached screen shot)

Note this is a bootable CD. Furthermore, if I mount the same ISO image with Daemon Tools, the CD will work fine, and all content is normally accessible.

The same error occurs in VirtualBox 3.1.8. I'm absolutely sure that I could use the same ISO image in an even older version of VirtualBox.


bug-VirtualBox-3.2.12-ISO-image.bmp Download (313.4 KB) - added by paulus 6 years ago.
Screenshot of error message

Change History

Changed 6 years ago by paulus

Screenshot of error message

comment:1 Changed 6 years ago by klaus

What's the exact size of the image (in bytes)? VirtualBox rejects anything which is not an integral number of sectors, which for a properly done image is always the case.

comment:2 Changed 6 years ago by jason.fordham@…

Here's a workaround for Linux, Unix and cygwin users.

  1. Calculate the deficit in the iso file size:
expr 4096 - \( {iso file size in bytes} % 4096 \)

The result of this expression is the pad length in bytes.

  1. Use dd to append the pad length to the iso file:
$ dd if=/dev/zero of={iso file name} bs={pad length} count=1 conv=notrunc oflag=append

The result will be an iso file that has a length that is a multiple of 4K bytes.

comment:3 Changed 12 months ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use