How do I create an .iso image?

Discussion in 'Mac Basics and Help' started by lamina, Jul 31, 2006.

  1. macrumors 68000

    lamina

    Joined:
    Mar 9, 2006
    Location:
    From Canada, living in Seoul
    #1
    I want to create an .iso image and have it compatible with Mac and Windows. Will Disk Utility let me do this?
     
  2. macrumors regular

    Joined:
    Jul 17, 2006
    #2
    I believe if you use a CD Burning program like Roxio or Nero you can create an iso file.
     
  3. macrumors member

    Joined:
    Jul 22, 2006
    Location:
    127.0.0.1
    #3

    Yes, just put it the CD/DVD, go to disk utility select disk image, and burn.
    or go to versiontracker.com and search for a more convinient solution for you.
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Create a folder with the contents you want on your ISO.

    Open Disk Utility and use the New Image from Folder menu item to create an image. Ensure it is uncompressed and use the CD/DVD master option.

    In my experience this creates HFS+ masters which are no good in Windows.

    Open the Terminal

    Assuming your new image is called ~/Desktop/Master.cdr (the file is on your desktop and called Master.cdr) type:

    Code:
    cd ~/Desktop
    hdiutil makehybrid -iso -joliet -o Master.iso Master.cdr
    
    This will create an ISO/Joliet .iso file.
     
  5. macrumors G4

    Joined:
    Mar 4, 2006
    #5
    He beat me to it, but I'll vouch for robbieduncan's method as it's the way I do it too :)
     
  6. macrumors newbie

    Joined:
    Aug 10, 2006
    Location:
    RTP, NC
    #6
    Creating an ISO from a CD (Audio or Data)

    From within Terminal (Applications->Utilities->Terminal)

    Mac OS X Tiger (10.4)

    You can determine the device that is you CD/DVD drive using the following command:

    drutil status

    Vendor Product Rev
    MATSHITA DVD-R UJ-825 DAM5

    Type: CD-ROM Name: /dev/disk1
    Cur Write: 16x CD Sessions: 1
    Max Write: 16x CD Tracks: 3
    Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
    Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
    Space Used: 66:55:27 blocks: 301152 / 616.76MB / 588.19MiB
    Writability:


    Now you will need to umount the disk with the following command:

    diskutil unmountDisk disk1

    Now you can write the ISO file with the dd utility:

    dd if=/dev/disk1 of=file.iso

    When finished you will want to remount the disk:

    diskutil mountDisk disk1


    Note: You may also be able to use hdiutil create -srcdevice /dev/disk1 -format UDTO file.iso to create the ISO image. I have seen this work for data disks, but have not had much luck with audio CDs.
     
  7. macrumors 68000

    steve_hill4

    Joined:
    May 15, 2005
    Location:
    NG9, England
    #7
    [SARCASM]Ooh, please tell me where I can get Mac versions of these Windows programs from.[/SARCASM]

    That probably wan't called for as you may have read Mac and Windows and assumed it was to create in one or the other rather than create in Mac to work in both. I would use the above DU>Terminal method if I needed to create an iso too, but rarely create them and usually burn to disc or save to external HD in original format.

    I looked at Toast 7 anyway and it only supports bin or cue images as well as toast.
     
  8. macrumors newbie

    Joined:
    Aug 24, 2006
    #8
    isn't that a bit complicated?
    i know nothing in terminal and i hate it:mad:
    any existing program that i can just open, grab files that i want in my image and save it as .ISO (similar to .dmg or .bin images)?
    thanks
     
  9. macrumors 604

    ravenvii

    Joined:
    Mar 17, 2004
    Location:
    Melenkurion Skyweir
    #9
    I think another way is to create a blank .dmg or .cdr image, then in Disk Utility choose that image and go to Erase. You can then erase and format the image in a different filesystem, one of them being ISO9660.
     
  10. macrumors newbie

    Joined:
    Nov 29, 2006
    #10
    Indeed, I have Roxio, and you can create a iso disk image. The only problem I am having is that you can use that method, but that only allows you to save files within it. Is there any way to save a CD as a iso disk image? is there a application for that?


    I take those questions back, the Terminal method worked.
     
  11. macrumors newbie

    Joined:
    Sep 26, 2006
    Location:
    Calgary, Canada
    #11
    thanks tgage

    tgage, those were exactly the instructions I was looking for! I'm needing to make an .iso image of my WinXP CD so I can have Parallels install it.
     
  12. macrumors newbie

    Joined:
    Feb 4, 2007
    #12
    You can of course automate this...

    If you are using Tiger, you can very easily create a shell script in automator to have a 'green button' version of tgage's solution.

    1. Insert the CD
    2. Open Terminal and run the command: drutil status
    3. Make a note of the Name (something like /dev/disk1) - the drive number changes according to what disks you have mounted at the time you issue the command. On my system, I have one internal HD and 3 external HD's. Therefore when I run drutil status i get /dev/disk4 as the name of the current CD/DVD.

    4. Open Automator.
    5. On the left hand side you will see all the applications you have on your system that can be scripted - select Automator from here and then drag "Run Shell Script" to the right hand pane.
    6. You'll probably see an example command "cat" in there already, delete this and type:
    diskutil unmount disk1
    dd if=/dev/disk1 of=image.iso
    diskutil mount disk1

    7. Save the script somewhere and voila, you have a green button method of creating iso's and you only had to type the shell commands once.

    When you run the script, you will see your CD/DVD unmount then you will know the process is finished as the CD/DVD will be remounted again.

    The only caveat is that you must have the same drives mounted when you run the script as you did when you issued the drutil status command, otherwise the disk number of the CD/DVD drive will be different and the whole thing won't work for you. Personally, I mount all my drives first, then pop the CD/DVD in and I know it will always be disk4 (on my system).

    If anyone knows how to determine the disk number in the script to get around this caveat, then I think we have a complete solution....
     
  13. macrumors 601

    compuwar

    Joined:
    Oct 5, 2006
    Location:
    Northern/Central VA
    #13
    You are aware that Parallels will install XP off the CD?
     
  14. macrumors G3

    clevin

    Joined:
    Aug 6, 2006
    #14
    if its a DVD, and it has been ripped on ur harddrive as movie folder using mac the ripper

    then

    u can use freewear dvd imager, it will make the movie folder into a *.iso


    another freeware called "simplyburns" can do *iso too.
     
  15. macrumors newbie

    Joined:
    Dec 3, 2007
    #15
    A little late, but if anyone else wants it..

    I just run this from the command line. You can run it out of Automater as previously stated. (Copy everything between dashes.. and change $userName and $imageName...

    ---------------------------------------
    #!/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}
    ---------------------------------------
     
  16. macrumors newbie

    Joined:
    Dec 11, 2007
    #16
    question for dfedick

    Hi dfedick,
    I tried your approach just from the command line with:

    #!/bin/bash

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

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

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

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

    I get back:
    dd: /dev/disk2: Input/output error
    41849+0 records in
    41849+0 records out
    21426688 bytes transferred in 21.626039 secs (990782 bytes/sec)
    Macintosh:Desktop jjohnson$ diskutil mount ${diskName}
    Volume failed to mount


    FYI, when I do drutil status I get:
    Macintosh:Desktop jjohnson$ drutil status
    Vendor Product Rev
    MATSHITA DVD-R UJ-85J FCQA

    Type: CD-R Name: /dev/disk2
    Sessions: 1 Tracks: 1
    Write Speeds: 8x, 24x
    Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
    Space Free: 75:24:34 blocks: 339334 / 694.96MB / 662.76MiB
    Space Used: 02:01:35 blocks: 9110 / 18.66MB / 17.79MiB
    Writability: appendable

    Any ideas what is occurring here? Thanks a ton. I'd love to see being able to create an automator script for this!




     
  17. macrumors newbie

    Joined:
    Apr 3, 2008
    #17
    ISO image made EASY !!!

    Nowadays.. this is a one click answer.. Roxio's Toast 8.
    Literally ONE drag & ONE click = Instant ISO image
     
  18. macrumors 601

    UltraNEO*

    Joined:
    Jun 16, 2007
    Location:
    近畿日本
    #18
  19. macrumors newbie

    Joined:
    Mar 24, 2008
    #19
    .cdr better for parallels->macbook air

    hi i followed the instructions in robbieduncan's post for creating .iso file, but my windows virtual machine would not load from it. however, it will load from the .cdr file so actually you can skip the "makehybrid" step.
     
  20. macrumors 68000

    Dimwhit

    Joined:
    Apr 10, 2007
    #20
    Make a .img image and change the extension to .iso. Works for me.
     
  21. macrumors newbie

    Joined:
    Mar 26, 2008
    #21
    hey I ran into the same problem and just wanted to share my notes:

    burning with disk utility didn't work for me (got an "no filesystem found" error when trying to mount it)

    burning through the terminal didn't work (got a "permission denied" when I tried to run the dd command)

    from this thread, http://forums.macrumors.com/showthread.php?t=297460
    I got the tip to create an image in toast and just rename it to .iso and that worked perfectly

    I bet creating an ISO 9660 disc in toast would work as well, but the first method is faster...

    Hope that helps some people.
     
  22. macrumors newbie

    Joined:
    Oct 29, 2009
    #22
    Use http://burn-osx.sourceforge.net

    I use Burn for Mac to copy Discs to iso.

    Download and install 'Burn' from http://burn-osx.sourceforge.net (opensource ie free).

    Run Burn
    Click on Copy button
    Drag your disc into the window
    Click Save
    Uncheck 'Hide extension'
    Click Save (to where you want it).

    Im using Snow Leopard, so location of the buttons may vary in other flavours of MacOSX.
     
  23. macrumors newbie

    Joined:
    Dec 28, 2009
    #23
    Use hdiutil

    I was also looking for a way to create an ISO-image to be used with a Windows-virtual machine and I read the post about hdiutil. Read the man page and found instructions on creating straight from a folder:

    hdiutil makehybrid -iso -joliet <filename>.iso <folder path to be added>

    Thanks for the info and hopefully this helps somebody else.

    Kristofer
     
  24. macrumors newbie

    Joined:
    May 9, 2009
    #24
    Creating ISO's on Mac for Mediagate or VLC

    Install
    MacTheRipper
    DVDImager

    1 -MacTheRipper- extract TS_Video. (Freeware) (select RCE 1 for US)

    2 - DVDImager- converts TS-Video -> .img. (Freeware)

    3 - Rename new .img, Example (Master.img to Master.ISO) highlight name below file icon, rename & hit enter.

    4 - In MacOS10: OS asks "Are you sure you want to change extension .IMG to ISO" hit Yes.

    (works great as alternative when TS-Video->Xvid Fails to capture the entire set of videos, Example TV season multi-show DVD)

    Keywords: Mediagate, Media gate, Media-Gate, MG35, MG35hd, MG45
     
  25. macrumors newbie

    Calatis

    Joined:
    Feb 10, 2010
    #25
    works partial

    The script works somehow in his mysterious way, I am new with Mac and was simple to... copy paste the script(with the username and image name updated). I was able to generate the iso file from an Audio Cd, however, my mac is not able to do anything with it, I think is corrupted or something. 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 provide some more info if is possible?

    Thank you

     

Share This Page