Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Calatis

macrumors newbie
Original poster
Feb 10, 2010
14
0
Hello,

I know that with mac can generate iso images, but I can not figure out how to make image from and Audio CD. I am just curious If is possible without any extra software.

I found the script on this forum (https://forums.macrumors.com/threads/220740/) and it is working somehow in his mysterious way.

I was able to generate the iso file from an Audio Cd, however. I used the file on PC and I was able to burn it, but all the info for tracks were lost so the entire CD is one long song. Funny, it has also 2 seconds of no sound (not pause) between the songs.

Question, am I missing something here, can you please check this script.

here is the script (Originally Posted by dfedick):

---------------------------------------
#!/bin/bash

#########
# Variables #
#########

diskName=$(drutil status | grep "Name:" | awk '{print $4}')
userName=enterUsernameHere
imageName=enterImageNameHere

######
# Body #
######

diskutil unmount ${diskName}
dd if=${diskName} of=/Users/${userName}/Desktop/${imageName}.iso
diskutil mount ${diskName}
---------------------------------------

Note: Copy everything between dashes.. and change $userName and $imageName...

Thank you
 

ChrisA

macrumors G5
Jan 5, 2006
12,572
1,685
Redondo Beach, California
This script simply runs "dd" to copy the bits off the raw device. I wonder what could be missed? My understanding is the you should have a perfect image of the CD in the file. I've used dd to image hard drives too, copy partition tables and so on.

Have you tried to mount the ISO image on the Mac? Does it work?
 

Calatis

macrumors newbie
Original poster
Feb 10, 2010
14
0
It might work with other data, but in this post I am talking only about audio CD, try it and you will see. I did several tests and every time I get the same result.
 

Calatis

macrumors newbie
Original poster
Feb 10, 2010
14
0
O, I forgot, I get this error: image not recognized, see attached picture.
 

Attachments

  • Screen shot 2010-04-05 at 9.51.42 AM.png
    Screen shot 2010-04-05 at 9.51.42 AM.png
    31.3 KB · Views: 69
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.