How can I mount a hybrid CD in macOS
I have a (very old) CD which is supposed to be mountable both on the Mac and Windows. Using Virtual Box, I can see the Windows partition, but on macOS I can’t.
Disk Utility sort of sees it, but the volume is greyed out and cannot be mounted.
Using diskutil list
I get the following:
/dev/disk7 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *1.5 MB disk7
1: Apple_partition_scheme 1.3 MB disk7s1
2: Apple_partition_map 1.0 KB disk7s1s1
3: Apple_HFS Aussie Maths Invaders 531.5 KB disk7s1s2
which suggests (a) that it can see it and (b) the format is HFS.
I have two copies of the CD, and neither of them can be mounted, which suggests that it’s probably not the media itself.
I cannot successfully mount the Apple Partition using either mount
or diskutil
, or at least with the options I have tried.
I have tried the following:
$ diskutil mountDisk /dev/disk7
One or more volume(s) failed to mount
$ mount -t cd9660 /dev/disk7 ~/cd
mount_cd9660: Invalid argument
mount: /Users/mark/cd failed with 1
$ mount_cd9660 /dev/disk7 ~/cd
mount_cd9660: Invalid argument
I am on an iMac running macOS Catalina 10.15.6 an external DVD/CD drive.
A few things:
The most likely problem: Apple dropped support for the "Mac OS Standard" HFS file system in macOS 10.15 Catalina. (Catalina retains support for the "Mac OS Extended" HFS+ file system.) While HFS+ was introduced in 1998 with OS 8.1 and quickly took over common usage on hard drives, it includes a "journal" of file system operations that makes it difficult to use with read-only drives, so CD-ROMs continued to use HFS until they were replaced with DVDs which use a different file system altogether.
AFAIK, currently (August 2020) there are no good tools for reading HFS file systems under Catalina. A bunch of attempts at utilities that may mature over time, but nothing ready for prime time. Probably your best bet is to use a virtual machine running compatible software to read the files.
Using Virtual Box, I can see the Windows partition, but on MacOS I can’t.
- In general, macOS will not show the Windows partition of a multi-format CD.
- You cannot use the CD drive with Virtual Box and the host macOS at the same time. The drive gets attached to one or the other. I am not sure if quitting Virtual Box is enough to make it let go of the drive.
I cannot successfully mount the Apple Partition using either mount or diskutil, or at least with the options I have tried.
I cannot think of a time when Disk Utility could see the drive and partition but not mount it that I was also able to mount it successfully from the command line.
Nevertheless, if you are going to try to mount the partition from the command line, you want to mount the Apple_HFS
partition, which in the output provided is listed as disk7s1s2
, so the command would be
diskutil mount readOnly disk7s1s2