DiscImageChef can't open VHD image #264

Closed
opened 2026-01-29 15:14:40 +00:00 by claunia · 2 comments
Owner

Originally created by @TheRogueArchivist on GitHub (May 1, 2019).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropiate:

  • I was running DiscImageChef under Windows 10...
  • ...in 64-bit

Description

DiscImageChef can't open a specific VHD image and I don't have any others handy to test at the moment. When using ls or extract-files, it says "Image format not identified, not proceeding with analysis.". Image: https://drive.google.com/file/d/1ngQr7tJK_s8ixnsKlpeXUj6vrosSO9-8/view?usp=sharing

Exact command line used:

.\DiscImageChef.exe ls ".\win98.vhd" -d

Output of command execution with debug output enabled

PS C:\Users\silas\Documents\Alcohol 120%\000> .\DiscImageChef.exe ls ".\win98.vhd" -d
DiscImageChef 4.5.99.1693-00000000 built by DESKTOP-8B4K7NM in Debug
Copyright c 2011-2019 Natalia Portillo

DEBUG (Ls command): --debug=True
DEBUG (Ls command): --encoding=
DEBUG (Ls command): --input=.\win98.vhd
DEBUG (Ls command): --options=
DEBUG (Ls command): --verbose=False
DEBUG (Ls command): Parsed options:
DEBUG (Format detection): Trying plugin ACT Apricot Disk Image
DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure
DEBUG (Format detection): Trying plugin Anex86 Disk Image
DEBUG (Anex86 plugin): fdihdr.unknown = -795951053
DEBUG (Anex86 plugin): fdihdr.hddtype = -75759428
DEBUG (Anex86 plugin): fdihdr.hdrSize = 525338448
DEBUG (Anex86 plugin): fdihdr.dskSize = 2082193148
DEBUG (Anex86 plugin): fdihdr.bps = 1342577599
DEBUG (Anex86 plugin): fdihdr.spt = 31832407
DEBUG (Anex86 plugin): fdihdr.heads = -1093950221
DEBUG (Anex86 plugin): fdihdr.cylinders = 78710718
DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image
DEBUG (Format detection): Trying plugin Apple 2IMG
DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool
DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2
DEBUG (DC42 plugin): tmp_header.diskName = "¿é-º"
DEBUG (DC42 plugin): tmp_header.dataSize = 1006662906 bytes
DEBUG (DC42 plugin): tmp_header.tagSize = 3137798324 bytes
DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x0ECD10EB
DEBUG (DC42 plugin): tmp_header.tagChecksum = 0xF2894625
DEBUG (DC42 plugin): tmp_header.format = 0x96
DEBUG (DC42 plugin): tmp_header.fmtByte = 0x8A
DEBUG (DC42 plugin): tmp_header.valid = 70
DEBUG (DC42 plugin): tmp_header.reserved = 4
DEBUG (Format detection): Trying plugin Apple New Disk Image Format
DEBUG (Format detection): Trying plugin Apple NIB
DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format
DEBUG (Format detection): Trying plugin Basic Lisa Utility
DEBUG (Format detection): Trying plugin BlindWrite 4
DEBUG (Format detection): Trying plugin BlindWrite 5
DEBUG (Format detection): Trying plugin CDRDAO tocfile
DEBUG (Format detection): Trying plugin CDRWin cuesheet
DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File)
DEBUG (Format detection): Trying plugin CloneCD
DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File
DEBUG (CPCDSK plugin): header.magic = "3????"
DEBUG (Format detection): Trying plugin d2f disk image
DEBUG (Format detection): Trying plugin D88 Disk Image
DEBUG (D88 plugin): d88hdr.name = "3???"
DEBUG (D88 plugin): d88hdr.reserved is empty? = False
DEBUG (D88 plugin): d88hdr.write_protect = 0xCB
DEBUG (D88 plugin): d88hdr.disk_type = 190 (190)
DEBUG (D88 plugin): d88hdr.disk_size = 78710718
DEBUG (Format detection): Trying plugin Digital Research DiskCopy
DEBUG (Format detection): Trying plugin DIM Disk Image
DEBUG (Format detection): Trying plugin DiscFerret
DEBUG (Format detection): Trying plugin DiscImageChef format
DEBUG (Format detection): Trying plugin DiscJuggler
DEBUG (DiscJuggler plugin): dscLen = 0
DEBUG (Format detection): Trying plugin Dreamcast GDI image
DEBUG (Format detection): Trying plugin Dunfield's IMD
DEBUG (Format detection): Trying plugin HD-Copy disk image
DEBUG (Format detection): Trying plugin IBM SaveDskF
DEBUG (Format detection): Trying plugin KryoFlux STREAM
DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data
DEBUG (Format detection): Trying plugin MAXI Disk image
DEBUG (MAXI Disk plugin): tmp_header.unknown = 51
DEBUG (MAXI Disk plugin): tmp_header.diskType = 192
DEBUG (MAXI Disk plugin): tmp_header.heads = 142
DEBUG (MAXI Disk plugin): tmp_header.cylinders = 208
DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 188
DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0
DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 124
DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 251
DEBUG (Format detection): Trying plugin Microsoft VHDX
DEBUG (Format detection): Trying plugin Nero Burning ROM image
DEBUG (Nero plugin): imageStream.Length = 8433430668
DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000
DEBUG (Nero plugin): footerV1.FirstChunkOffset = 0
DEBUG (Nero plugin): footerV2.ChunkID = 0x00000000
DEBUG (Nero plugin): footerV2.FirstChunkOffset = 0
DEBUG (Format detection): Trying plugin Parallels disk image
DEBUG (Format detection): Trying plugin PartClone disk image
DEBUG (Format detection): Trying plugin Partimage disk image
DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image
DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image v2
DEBUG (QCOW plugin): qHdr.magic = 0x33C08ED0
DEBUG (QCOW plugin): qHdr.version = 3154148603
DEBUG (Format detection): Trying plugin QEMU Enhanced Disk image
DEBUG (Format detection): Trying plugin Ray Arachelian's Disk IMage
DEBUG (Ray Arachelian's Disk IMage plugin): header.signature = 3????
DEBUG (Ray Arachelian's Disk IMage plugin): header.diskType = 150
DEBUG (Ray Arachelian's Disk IMage plugin): header.heads = 4
DEBUG (Ray Arachelian's Disk IMage plugin): header.cylinders = 138
DEBUG (Ray Arachelian's Disk IMage plugin): header.sectorsPerTrack = 70
DEBUG (Ray Arachelian's Disk IMage plugin): header.signature matches? = False
DEBUG (Format detection): Trying plugin RS-IDE Hard Disk Image
DEBUG (Format detection): Trying plugin Spectrum Floppy Disk Image
DEBUG (Format detection): Trying plugin SuperCardPro
DEBUG (Format detection): Trying plugin Sydex CopyQM
DEBUG (Format detection): Trying plugin Sydex TeleDisk
DEBUG (Format detection): Trying plugin T98 Hard Disk Image
DEBUG (Format detection): Trying plugin T98-Next NHD r0 Disk Image
DEBUG (Format detection): Trying plugin Virtual98 Disk Image
DEBUG (Format detection): Trying plugin VirtualBox Disk Image
DEBUG (Format detection): Trying plugin VirtualPC
DEBUG (Format detection): Trying plugin VMware disk image
DEBUG (Format detection): Trying plugin Raw Disk Image
Image format not identified, not proceeding with analysis.
Originally created by @TheRogueArchivist on GitHub (May 1, 2019). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropiate: * [X] I was running DiscImageChef under Windows 10... * [x] ...in 64-bit ### Description DiscImageChef can't open a specific VHD image and I don't have any others handy to test at the moment. When using ls or extract-files, it says "Image format not identified, not proceeding with analysis.". Image: https://drive.google.com/file/d/1ngQr7tJK_s8ixnsKlpeXUj6vrosSO9-8/view?usp=sharing ### Exact command line used: `.\DiscImageChef.exe ls ".\win98.vhd" -d` ### Output of command execution with debug output enabled ``` PS C:\Users\silas\Documents\Alcohol 120%\000> .\DiscImageChef.exe ls ".\win98.vhd" -d DiscImageChef 4.5.99.1693-00000000 built by DESKTOP-8B4K7NM in Debug Copyright c 2011-2019 Natalia Portillo DEBUG (Ls command): --debug=True DEBUG (Ls command): --encoding= DEBUG (Ls command): --input=.\win98.vhd DEBUG (Ls command): --options= DEBUG (Ls command): --verbose=False DEBUG (Ls command): Parsed options: DEBUG (Format detection): Trying plugin ACT Apricot Disk Image DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure DEBUG (Format detection): Trying plugin Anex86 Disk Image DEBUG (Anex86 plugin): fdihdr.unknown = -795951053 DEBUG (Anex86 plugin): fdihdr.hddtype = -75759428 DEBUG (Anex86 plugin): fdihdr.hdrSize = 525338448 DEBUG (Anex86 plugin): fdihdr.dskSize = 2082193148 DEBUG (Anex86 plugin): fdihdr.bps = 1342577599 DEBUG (Anex86 plugin): fdihdr.spt = 31832407 DEBUG (Anex86 plugin): fdihdr.heads = -1093950221 DEBUG (Anex86 plugin): fdihdr.cylinders = 78710718 DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image DEBUG (Format detection): Trying plugin Apple 2IMG DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2 DEBUG (DC42 plugin): tmp_header.diskName = "¿é-º" DEBUG (DC42 plugin): tmp_header.dataSize = 1006662906 bytes DEBUG (DC42 plugin): tmp_header.tagSize = 3137798324 bytes DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x0ECD10EB DEBUG (DC42 plugin): tmp_header.tagChecksum = 0xF2894625 DEBUG (DC42 plugin): tmp_header.format = 0x96 DEBUG (DC42 plugin): tmp_header.fmtByte = 0x8A DEBUG (DC42 plugin): tmp_header.valid = 70 DEBUG (DC42 plugin): tmp_header.reserved = 4 DEBUG (Format detection): Trying plugin Apple New Disk Image Format DEBUG (Format detection): Trying plugin Apple NIB DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format DEBUG (Format detection): Trying plugin Basic Lisa Utility DEBUG (Format detection): Trying plugin BlindWrite 4 DEBUG (Format detection): Trying plugin BlindWrite 5 DEBUG (Format detection): Trying plugin CDRDAO tocfile DEBUG (Format detection): Trying plugin CDRWin cuesheet DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File) DEBUG (Format detection): Trying plugin CloneCD DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File DEBUG (CPCDSK plugin): header.magic = "3????" DEBUG (Format detection): Trying plugin d2f disk image DEBUG (Format detection): Trying plugin D88 Disk Image DEBUG (D88 plugin): d88hdr.name = "3???" DEBUG (D88 plugin): d88hdr.reserved is empty? = False DEBUG (D88 plugin): d88hdr.write_protect = 0xCB DEBUG (D88 plugin): d88hdr.disk_type = 190 (190) DEBUG (D88 plugin): d88hdr.disk_size = 78710718 DEBUG (Format detection): Trying plugin Digital Research DiskCopy DEBUG (Format detection): Trying plugin DIM Disk Image DEBUG (Format detection): Trying plugin DiscFerret DEBUG (Format detection): Trying plugin DiscImageChef format DEBUG (Format detection): Trying plugin DiscJuggler DEBUG (DiscJuggler plugin): dscLen = 0 DEBUG (Format detection): Trying plugin Dreamcast GDI image DEBUG (Format detection): Trying plugin Dunfield's IMD DEBUG (Format detection): Trying plugin HD-Copy disk image DEBUG (Format detection): Trying plugin IBM SaveDskF DEBUG (Format detection): Trying plugin KryoFlux STREAM DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data DEBUG (Format detection): Trying plugin MAXI Disk image DEBUG (MAXI Disk plugin): tmp_header.unknown = 51 DEBUG (MAXI Disk plugin): tmp_header.diskType = 192 DEBUG (MAXI Disk plugin): tmp_header.heads = 142 DEBUG (MAXI Disk plugin): tmp_header.cylinders = 208 DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 188 DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0 DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 124 DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 251 DEBUG (Format detection): Trying plugin Microsoft VHDX DEBUG (Format detection): Trying plugin Nero Burning ROM image DEBUG (Nero plugin): imageStream.Length = 8433430668 DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000 DEBUG (Nero plugin): footerV1.FirstChunkOffset = 0 DEBUG (Nero plugin): footerV2.ChunkID = 0x00000000 DEBUG (Nero plugin): footerV2.FirstChunkOffset = 0 DEBUG (Format detection): Trying plugin Parallels disk image DEBUG (Format detection): Trying plugin PartClone disk image DEBUG (Format detection): Trying plugin Partimage disk image DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image v2 DEBUG (QCOW plugin): qHdr.magic = 0x33C08ED0 DEBUG (QCOW plugin): qHdr.version = 3154148603 DEBUG (Format detection): Trying plugin QEMU Enhanced Disk image DEBUG (Format detection): Trying plugin Ray Arachelian's Disk IMage DEBUG (Ray Arachelian's Disk IMage plugin): header.signature = 3???? DEBUG (Ray Arachelian's Disk IMage plugin): header.diskType = 150 DEBUG (Ray Arachelian's Disk IMage plugin): header.heads = 4 DEBUG (Ray Arachelian's Disk IMage plugin): header.cylinders = 138 DEBUG (Ray Arachelian's Disk IMage plugin): header.sectorsPerTrack = 70 DEBUG (Ray Arachelian's Disk IMage plugin): header.signature matches? = False DEBUG (Format detection): Trying plugin RS-IDE Hard Disk Image DEBUG (Format detection): Trying plugin Spectrum Floppy Disk Image DEBUG (Format detection): Trying plugin SuperCardPro DEBUG (Format detection): Trying plugin Sydex CopyQM DEBUG (Format detection): Trying plugin Sydex TeleDisk DEBUG (Format detection): Trying plugin T98 Hard Disk Image DEBUG (Format detection): Trying plugin T98-Next NHD r0 Disk Image DEBUG (Format detection): Trying plugin Virtual98 Disk Image DEBUG (Format detection): Trying plugin VirtualBox Disk Image DEBUG (Format detection): Trying plugin VirtualPC DEBUG (Format detection): Trying plugin VMware disk image DEBUG (Format detection): Trying plugin Raw Disk Image Image format not identified, not proceeding with analysis. ```
Author
Owner

@darkstar commented on GitHub (Aug 4, 2019):

This is not a VHD image, it's a raw image. Not sure yet why it's not detected correctly...

@darkstar commented on GitHub (Aug 4, 2019): This is not a VHD image, it's a raw image. Not sure yet why it's not detected correctly...
Author
Owner

@claunia commented on GitHub (Aug 4, 2019):

Image does not contain VHD header or foother neither is multiple of 512 bytes (all VHD are multiple of 512, and raw images must be multiple of 2048, 512, or one of the known floppy formats that are not).

@claunia commented on GitHub (Aug 4, 2019): Image does not contain VHD header or foother neither is multiple of 512 bytes (all VHD are multiple of 512, and raw images must be multiple of 2048, 512, or one of the known floppy formats that are not).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#264