Skip navigation
This discussion is archived

Terminal command hdiutil convert. Where is output file?

7528 Views 9 Replies Latest reply: Jan 11, 2011 11:51 AM by Dean RSS
Dean Level 1 Level 1 (5 points)
Currently Being Moderated
Jan 10, 2011 2:27 PM
I'm trying to use terminal to convert an ISO file to an IMG file. The conversion appears to run but I cannot find the output file.
The command I'm using is;

hdiutil convert -format UDRW -o /convert/newfile/output.img /convert/source.iso

I assume the output.img file should be in the /convert/newfile/ directory.
Mac OS X (10.6.6)
  • MrHoffman Level 6 Level 6 (11,695 points)
    Currently Being Moderated
    Jan 10, 2011 3:15 PM (in response to Dean)
    If you're within the realm of what Spotlight indexes, then:

    $ mdfind -name source
    $ mdfind "kMDItemFSName == 'source'c"

    The first is a name search, the second is (also) a name search, and that trailing C is the case-blind switch.

    And when in doubt, get out the Big (slow) Hammer and go look for it everywhere:

    $ sudo find / -iname source -print

    And FWIW, I'd tend to use the construction shown in the man page:

    $ hdiutil convert source.type -format UDRW -o destination.type

    And have a look at the -verbose or -debug switches on the hdiutil command, to get more details.
  • MrHoffman Level 6 Level 6 (11,695 points)
    Currently Being Moderated
    Jan 10, 2011 4:47 PM (in response to Dean)
    Whatever you're trying to convert doesn't have a recognized format.

    There are about a gazillion different things lumped together and called an "ISO", so that's not a huge surprise.

    It's not obvious what format that WRDU might be after some concerted searching, and given how spam-filled and increasingly useless Google is getting. What do you think that disk image is?
  • Linc Davis Level 10 Level 10 (107,390 points)
    Currently Being Moderated
    Jan 10, 2011 4:54 PM (in response to Dean)
    The arguments are in the wrong order. Also, you probably should be using relative paths; e.g.,
    hdiutil convert source.iso -format UDRW -o output
    Mac OS X (10.6.6)
  • MrHoffman Level 6 Level 6 (11,695 points)
    It's a small install of linux for a PPC. About 100megs insize. Was trying to see if i could create an install on a FW or USB drive

    FWIW, I've used [dd and diskutil|] for something similar; for getting Linux and BSD and firewall disk images over onto CF cards and other removable media, for use with embedded devices.

    (This was intended to be a reply to the OP.)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.