jief666 / hdimount

Mount apple disk image (HFS, APFS, partitioned or not, compressed, encrypted) via Fuse
GNU General Public License v3.0
33 stars 2 forks source link

Error: Unsupported file format #7

Open gingerbeardman opened 2 years ago

gingerbeardman commented 2 years ago

hdimount

Attempting to mount an old HFS Standard CD-ROM (Macintosh software) I get:

$ ./hdimount-osx13 "CD.iso" /Volumes/HFS
Password: 
Error: Unsupported file format

Could this be due to recent (Catalina) changes in macOS (retirement of HFS Standard support), or does Fuse in hdimount work around that?

hfsutils

Using other tools https://www.mars.org/home/rob/proj/hfs/ I can demonstrate that my disk image contains a valid HFS partition.

$ hmount "CD.iso"
/Users/matt/Desktop/CD.iso: contains 1 HFS partition
Volume name is "MacCD"
Volume was created on Mon Sep  5 10:40:25 1994
Volume was last modified on Mon Oct  3 16:49:00 1994
Volume has 12513280 bytes free

System

jief666 commented 2 years ago

hdimount embed a full HFS. It works under Linux and Windows. So need for the OS to be HFS compliant. Maybe HFS for CD-ROM is a bit different ? I would need a problematic iso to make some test and debug. You can also compile and debug. I can help on how to launch compilation.

jief666 commented 2 years ago

What is "hmount" ?

gingerbeardman commented 2 years ago

hdimount embed a full HFS. It works under Linux and Windows.

Great.

So need for the OS to be HFS compliant.

Umm, this contradicts the above?

What is "hmount" ?

It is part of hfsutils, it will mount a HFS file system for use with the rest of hfsutils tools (hls is its equivalent of ls, etc). I use it here only to demonstrate that my disk image contains a valid HFS partition.

I would need a problematic iso to make some test and debug.

Try this one: https://archive.org/details/macpeople-1998-no-2

You can also compile and debug. I can help on how to launch compilation.

I have used the tagged release, Mac versions 11 and 13.

I'm happy to try to compile if it will help.

jief666 commented 2 years ago

So need for the OS to be HFS compliant.

Sorry, meant "NO need..."

I'm happy to try to compile if it will help.

Only if you can then debug and find the problem. Maybe correct it and post a PR...

jief666 commented 2 years ago

I'm downloading that : https://archive.org/details/macpeople-1998-no-2 I have still few days, maybe a week or 2 very busy...

gingerbeardman commented 2 years ago

Here is a much smaller 16.6MB zipped ISO to test: https://transfer.sh/7gEg71/small.zip