Geek Posted March 13, 2012 Posted March 13, 2012 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2012/03/burn-iso-command-line.jpg" alt="Burn ISO image from the command line" title="burn-iso-command-line" width="175" height="221" class="alignright size-full wp-image-28354" /> The most straight forward way to <a href="http://osxdaily.com/2009/09/11/how-to-burn-an-iso-on-your-mac/">burn an ISO from a Mac is using Disk Utility</a>, but you can also burn ISO’s and disk images directly from the command line with the help of a tool called ‘dd’. </p> <p>dd can be advantageous for several reasons. For one, the command line aspect makes it easy to use through a remote <a href="http://osxdaily.com/2011/09/30/remote-login-ssh-server-mac-os-x/">SSH connection</a>, but perhaps more useful is dd’s low-level functionality which is generally faster than alternatives and could circumvent some error messages.</p> <p>Because this is a command line tool it should be considered mostly for advanced users, and although this is written with Mac OS X in mind it should work with Linux as well, with the exception of the diskutil command. As usual, be certain that all syntax is entered properly to avoid potential problems, and if in doubt, just stick with a <a href="http://osxdaily.com/2009/09/11/how-to-burn-an-iso-on-your-mac/">simpler method</a> from the GUI.</p> <h2 style="font-size:1.3em;">Burn an ISO from the Command Line with dd</h2> <p>The first thing you’ll need to do is find the disk or drive from the command line:</p> <p><code>diskutil list</code></p> <p>Locate the name of the destination drive in the mounted drives list and make note of its “IDENTIFIER” code, this should be something like “disk1s1″ but it will likely be unique to your machine.</p> <p><img src="http://osxdaily.com/wp-content/uploads/2012/03/disk-identifer.gif" alt="disk identifier found from diskutil list" title="disk-identifer" width="620" height="103" class="aligncenter size-full wp-image-28348" /></p> <p>Using the identifier you just found, unmount the disk but do not disconnect it from the Mac:</p> <p><code>sudo unmount /dev/disk1s1</code></p> <p>Enter the administrator password when requested to complete unmount.</p> <p>Burning a disk image using the command line tool ‘dd’ uses the following syntax:</p> <p><code>dd if=/path/to/image.iso of=/dev/disk1s1</code></p> <p>For example, to burn an image located on the desktop of user “Will” called “OSXMountainGorilla.iso” the command would be:</p> <p><code>dd if=/Users/Will/Desktop/OSXMountainGorilla.iso of=/dev/disk1s1/</code></p> <p>You will notice that dd does not give you updates or a status bar, but when the command is finished running you will be returned to the standard terminal prompt.</p> <p>Any disk image should work as dd is not limited to ISO. You could use this tool to make bootable Mac OS installation drives as well, including for <a href="http://osxdaily.com/2012/02/17/make-bootable-os-x-10-8-mountain-lion-usb-install-drive/">for OS X Mountain Lion</a> and <a href="http://osxdaily.com/2011/07/08/make-a-bootable-mac-os-x-10-7-lion-installer-from-a-usb-flash-drive/">OS X Lion</a>.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/GTqJopc0IshG1IK-gUXq-OVdsk8/0/da"><img src="http://feedads.g.doubleclick.net/~a/GTqJopc0IshG1IK-gUXq-OVdsk8/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/GTqJopc0IshG1IK-gUXq-OVdsk8/1/da"><img src="http://feedads.g.doubleclick.net/~a/GTqJopc0IshG1IK-gUXq-OVdsk8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=8xNEs4_BMZI:_3kB3Vv7CqY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=8xNEs4_BMZI:_3kB3Vv7CqY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=8xNEs4_BMZI:_3kB3Vv7CqY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=8xNEs4_BMZI:_3kB3Vv7CqY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=8xNEs4_BMZI:_3kB3Vv7CqY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=8xNEs4_BMZI:_3kB3Vv7CqY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=8xNEs4_BMZI:_3kB3Vv7CqY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/8xNEs4_BMZI" height="1" width="1"/> View the full article
Recommended Posts