Mount ISO and alternate disk formats in macOS

Make a folder mount point:

mkdir mount-folder

Use hdiutil to attach the ISO without mounting it:

hdiutil attach -nomount linux.iso
/dev/disk2              FDisk_partition_scheme          
/dev/disk2s2            0xEF

Then use mount to specify a specific format you want to use to mount the disk. This example is using the CD-ROM format:

mount -t cd9660 /dev/disk2 mount-folder

This article was updated on 2022-11-26

I'm nabeards.

I'm a full stack JavaScript developer.

I travel full time, a.k.a., Professional Wanderer, a.k.a., Digital Nomad.