How do I mount a .iso or .dmg image as a CD on a Mac so that it's recognised as a CD and not just a volume?

13

2

I have a knackered super-drive, and need to install software from a CD. However I do have backup images (as .dmg's) of all my install disks. Usually it all works fine, but with two particular installs it tells me to insert the CD into the drive. Is there anyway to fool the system into mounting the .dmg and make it look like a CD? I believe that Toast can do this, so it's possible. I was just hoping to be able to do it without forking out £80 - I could get an external drive for that (just not right this second)

despicable

Posted 2011-03-01T20:29:17.200

Reputation: 131

Have you tried using "Disk Utility.app", in the /Applications/Utilities folder, to do this. It would be much easier than using the shell. – Mark Thalman – 2011-03-01T21:18:58.730

1Under Windows I use Daemon Tools for this. Surely there's SOME OSX equivalent. +1 for good question. – Shinrai – 2011-03-01T21:21:24.207

If this languishes here, try migrating it to http://apple.stackexchange.com/

– Ian C. – 2011-03-02T03:49:24.580

@Mark Thalman mounting a disk image in Disk Utility does the same thing as double-clicking it. – s4y – 2011-03-11T16:31:38.303

Answers

2

Unfortunately some programs are "clever" enough to spot the difference between a loop device and a cdrom. There's a third-party workaround for this at http://www.macupdate.com/app/mac/33355/virtual-cd-rw - it's not free, and I haven't tried it, but it does have a 2 week trial.

The short answer tho, is that for anything that actually tries to send commands to the drive, mount doesn't cut it; whether it be at the command-line or the UI.

Shaun

Posted 2011-03-01T20:29:17.200

Reputation: 290

1

I can confirm that Toast can do this. If you aren't willing to pay for Toast I imagine that something like Michelle Six's answer will work. Try converting your .dmg to a .iso or something else.

Sean W.

Posted 2011-03-01T20:29:17.200

Reputation: 111

1

it will depend on what you want to do, but if you need to convert the format to CD/DVD. I needed it to get VM Fusion to read a ISO file...

Go to Applications > Utilities > Disk Utility Go to File > Open disk image

The image will be loaded on the left

Select the image ISO

Look for the CONVERT in the header (between New Image and Resize Image)

Select image format and select CD/DVD MASTER.

Hope it helps

Lyssandro Reis

Posted 2011-03-01T20:29:17.200

Reputation: 11

0

None of you are right (except the person who mentioned Toast). It's super easy to mount a disk image but mounting it so it appears as physical CD-ROM or DVD-ROM media is a different thing. I'm trying to play Age of Empires 3 on the Mac but it requires seeing the physical media and not just a mounted disk image. Mount-It (an optional installed component of Toast) is the only thing I've ever used that's effectively tricked AoE.

Peter

Posted 2011-03-01T20:29:17.200

Reputation: 1

1Have you actually tried Michelle's answer? – Hashim – 2018-09-25T02:30:37.500

1Please provide more detail on the solution that worked (and spend less space complaining about the answers that didn’t help you).  Please do not respond in comments; [edit] your answer to make it clearer and more complete. – Scott – 2018-09-25T02:55:38.810

0

The mounting methodology is probably not your problem. Most likely the problem is that something is looking at the file system. In general .dmg files are using the hfs file system where as CDs are using the iso9660 or UDF file systems.

A work around for this is to convert your .dmg into a .cdr here's how

  1. double click on your .dmg file to mount it
  2. open a terminal window
  3. sudo hdiutil create -attach -fs UDF -format UDTO -volname NewName -srcfolder /Volumes/CurrentVolume/ BrandNewImageName

Michelle Six

Posted 2011-03-01T20:29:17.200

Reputation: 164

0

On Snow Leopard you can just right-click the .iso file and select "Open" from the menu. Then the disk will be mounted on your desktop just like opening a zip file.

If you need filesystem access just look in the /Volumes directory and you should see your image mounted as a directory there.

C.Shamis

Posted 2011-03-01T20:29:17.200

Reputation: 9

3The question specifically asked how to make it pretend to be a CD, not how to mount it. – Moshe Katz – 2012-12-19T23:40:19.827

-2

You could try to mount the .iso to the mount point of your cd-drive with mount -o loop -t iso9660 /PATH/XXX.iso /PATH/TO/CD-MOUNTPOINT Just open a terminal and hack the command in. But i don't know where your cd's usally get mounted. You might to have superuser rights. Then do: sudo mount -o loop -t iso9660 /PAT/XXX.iso /PATH/TO/CD-MOUNTPOINT If it is a DVD the type might no be iso9660 in this case mount should throw an error with the right type.H

Darokthar

Posted 2011-03-01T20:29:17.200

Reputation: 1 361

This Linux answer is not applicable to Mac OS X. – Spiff – 2011-03-07T12:16:16.250