Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unsupported file format #7

Open
gingerbeardman opened this issue Apr 5, 2022 · 6 comments
Open

Error: Unsupported file format #7

gingerbeardman opened this issue Apr 5, 2022 · 6 comments

Comments

@gingerbeardman
Copy link

gingerbeardman commented Apr 5, 2022

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

  • macOS 12.3.1 (21E258) "Monterey"
@jief666
Copy link
Owner

jief666 commented Apr 5, 2022

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
Copy link
Owner

jief666 commented Apr 5, 2022

What is "hmount" ?

@gingerbeardman
Copy link
Author

gingerbeardman commented Apr 6, 2022

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
Copy link
Owner

jief666 commented Apr 6, 2022

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
Copy link
Owner

jief666 commented Apr 6, 2022

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants